FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Nightlies Feedback › MP3 File Names › Reply To: MP3 File Names
18/01/2008 at 6:44 AM
#15880
Anonymous
Inactive
> rename? and it takes sed-style arguments? What system and package is > that a part of? Crazy. And all this time I’ve been doing baroque stuff like:
its authored by Larry Wall. It’s just there on my Kubuntu box, probably part of the perl package.
> IFS=$’n’; for file in `find . -name “*’*”`; do mv $file `echo $file | tr “‘” “_”`; > done
I never thought of using backtics in a for clause, I love UNIX 🙂