How do I ignore specific directories via RegEx with ack?
I can use the --ignore-dir option, but this does not let me specify a RegEx. I want to be able to i
--ignore-dir
With ack2, it seems you can't use holygeek's solution.
Here's how I'd do it using -v and -x:
-v
-x
ack -v -g 'test' | ack -x pattern
More generally, 'test' can be a regex for dirs to exclude
'test'