[linux-audio-user] converting large number of ogg's to mp3's

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

 



mdeboer@xxxxxxxxxx escribe:
> To change the extension, you could use sed.
> 
> find . -name "*.ogg" | while read filename; do \
>   sox "$filename" "`echo $filename | sed -e 's/\.ogg$/.mp3'`" \
> done

There Is More Than One Way To Do It(TM):

for filename in `find . -name "*.ogg"`; do \
    sox "$filename" "`basename $filename .ogg`.mp3" \
done
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://music.columbia.edu/pipermail/linux-audio-user/attachments/20050109/fdf0767d/attachment.bin

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux