simple bash script question

Rajiv Aaron Manglani rajiv at alum.mit.edu
Wed Jan 25 19:35:46 EST 2006


> I'm in the middle of moving a whole slew of mp3s/.oggs to my freshly
> modded xbox, however i've run into the snag of the xbox filesystem
> (fatx) not liking certain charaters/filename lengths i have on my
> desktop.
...
> any ideas? better ways to do this?

http://detox.sourceforge.net/

"Detox is a utility designed to clean up filenames. It replaces  
difficult to work with characters, such as spaces, with standard  
equivalents. It will also clean up filenames with UTF-8 or Latin-1  
(or CP-1252) characters in them." ... "It was originally a personal  
project, written a few years ago to clean up the names of MP3s ripped  
under Windows."

eg:

$ touch test\ \(1\).foo
$ ls *foo
test (1).foo
$ detox -n *foo
test (1).foo -> test-1-.foo






More information about the Discuss mailing list