Custom Search

Tuesday, January 5, 2016

grep exclude files with extension


$grep -l --exclude=*.py --exclude=*.cc --exclude=*.h -r searchstring .

$grep -l --exclude=*.py --exclude=*.cc --exclude=*.h -r searchstring /home/saju

No comments:

Post a Comment