Since I frequently receive files from Microsoft Windows users, is there anyutility to unix-ify file names, that is, use lower case exclusively, use hyphen as separator, etc.?
I use something like this: #!/bin/bash OLD_FILE_NAME=$1 # You might want to add a y/ rule to remove accents. NEW_FILE_NAME=`echo "ABC DEF" | sed -e '\ s/ /-/g; y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/; '` mv $OLD_FILE_NAME $NEW_FILE_NAME -- Octavio.