brian moore <[EMAIL PROTECTED]> writes:

> > for name in *.mp3; do
> >   newname=$(echo "$name" | sed -e 's/[ "\(\),]//g')
> >   echo "Moving \"$name\" to \"$newname\""
> >   mv -i "$name" "$newname"
> > done
> 
> Oh, goodness, that looks complex.
> 
> % rename 's/[ ,"()]/_/g' *.mp3

Why do it the easy way if there's a complicated one? :)

        moritz
-- 
Moritz Schulte <[EMAIL PROTECTED]> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199

Reply via email to