Last active
August 29, 2015 14:15
-
-
Save igniteflow/e9dae0949891001d081a to your computer and use it in GitHub Desktop.
Ack examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # search all files ignoring those paths that contain regex_pattern (should be quoted) | |
| ack -v -g regex_pattern | ack -x pattern | |
| # practical Django usage to ignore migrations files | |
| ack --python -v -g 'migrations' | ack -x foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment