PDA

View Full Version : Script to replace special characters in filenames


aheckler
August 13th, 2008, 08:15 PM
I am moving a large amount of files to a server that cannot handle special characters in filenames. However, I need to (generally) preserve the look of the filenames.

Is there a script or perhaps a sed command I could use to replace special characters with underscores or periods recursively in a certain directory?