Skip to content
Advertisement

How to specify ignore pattern in grep?

How can I make grep to ignore some files (e.g. .svn directories, binary files, etc.) while grepping recursively?

Advertisement

Answer

Use an –exclude pattern as already answered here

Advertisement