Sample Header Ad - 728x90

How to ignore multiple files with `ag` The Silver Searcher

16 votes
4 answers
13086 views
There is an option --ignore which allows specifying files to ignore. At the moment I only managed to ignore multiple files by doing --ignore file1 --ignore file2....... Trying to use --ignore "*assets*|*scripts*" does nothing. So is there a catch I'm not aware of?
Asked by T.Chmelevskij (263 rep)
May 3, 2017, 06:11 PM
Last activity: Dec 18, 2023, 04:21 PM