FIND – one liners

find . -name “PLW_TCPIN*” -exec grep -l “$1” {} \; (finds file & string in file)
find . -name “*core*” | xargs ls -l (finds cores and their sizes)
find . -size +100000 -print (find files over 1 gig)

To Rename all .jpeg to .jpg:
for file in *.jpeg; do mv “$file” “${file%.jpeg}.jpg”; done



Subscribe for the latest posts, free promotions, and insider deals!!!