Posts tagged «shell» Feed RSS

Script che sostituisce _ricorsivamente_ tutte le occorrenze della regexp passata come primo parametro con la regexp passata come secondo parametro, a partire dalla dir attuale o da quella specificata come terzo parametro
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 {} \;