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

Re: renaming *.wav.mp3 to *.mp3 only



> I copied a
> script from the internet but it did not work to encode
> mp3 and I modified it so that I could get some output
> and it came to *.wav.mp3 

try this:

for i in `ls *.wav.mp3`; do mv $i `echo $i |sed s/wav\.//`;done

Test it first, it may do nasty things....


-- 
Stuart Mackintosh <sm opusvl com>
OpusVL


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