Re: file extensions -- batch mv'ing, mp3s
> >>
> >> $ for x in *;do mv -iv "$x" `echo "$x"|sed -e 's/MP3$/mp3/'`;done
> >
> > bash$ for i in *.MP3; do mv $i ${i%.MP3}.mp3; done
>
> mmv '*.MP3' '#1.mp3'
Nice, but mmv isn't a standard Unix command. mv, echo, sed, and
sh/bash are.
--
Buddha Buck bmbuck@zaphid.dhis.edu
"Just as the strength of the Internet is chaos, so the strength of our
liberty depends upon the chaos and cacaphony of the unfettered speech
the First Amendment protects." -- A.L.A. v. U.S. Dept. of Justice
Reply to: