Pregunta

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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top