BASH
Bourne Again Shell snippets.
Rename All File Extensions to Lowercase
find . -type d -execdir rename 's/(\.[A-Z]+$)/lc($1)/ge' *.*[A-Z]* \;
rename 'y/A-Z/a-z/' *
Find Binary in All Files
sed -n 's/.*[,"\[>[:space:]]\(.*\.exe\).*/\1/p'
find . -name "*.txt" -exec sed -n 's/.*[+,"\[>[:space:]]\(.*\.exe\).*/\1/p' {} \; > result-list
grep -iroh "\(.*\.exe\)" . | tee result-list