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

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

 



> 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@xxxxxxxxxx>
OpusVL


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux