Find

Just a little reminder for that useful linux command!

Find recursively all files with the same extension

find /home/gabo -name "*.txt"

Find all files containg a string

find /home/gabo | xargs grep -i "frase da cercare"

Delete recursively all file matching the -name option

find /home/gabo -name '*~' -exec rm -f {} \;

Leave a comment