[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: file extensions -- batch mv'ing, mp3s



*- On 26 Jul, Buddha Buck wrote about "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.
> 

True, but that wasn't stated in the rules. =) 

If you have the tools....use 'em.

-- 
Brian 
---------------------------------------------------------------------
Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: