Archive

Posts Tagged ‘linux’

How to recursively search a pattern with GREP in many files with the same name

November 5, 2010 Leave a comment

rgrep -iH –include=filename ‘pattern’ .

N.B. the trailing point is important!

Categories: Uncategorized Tags:

How to delete recursively nested directories in Linux by name

February 5, 2010 Leave a comment
find . -type d -name NOME-DIRECTORY -exec rm -rf {} \;

thanks to Mirko…

Categories: Uncategorized Tags: