سؤال

For example:

-- /
---- foo
------ exclude-me
----  bar
------ exclude-me
---- baz
------ exclude-me

How could I search all foo, bar, and baz, BUT exclude any sub-directory with exclude-me?

هل كانت مفيدة؟

المحلول

For ack, you use case is covered with --ignore-dir=exclude-me (excluding by plain directory name only).

For something similar, I would try some similar approach after browsing some manual for some time.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top