Archive for 'Programming' Category
bash shell tips for filenames
By technese - Last updated: Sunday, February 12, 2012
# remove empty files rm -f $(find . -empty) # change all filenames from upper to lower case rename ‘y/A-Z/a-z/’ * # change all filenames from spaces to underscores find -name “* *” -type f | rename ‘s/ /_/g’