this seems good for start.
 what about the compression and deletion of the converted files?


----- Original Message -----
From: Chris Davies
Sent: 12/28/12 01:55 PM
To: debian-user@lists.debian.org
Subject: Re: bash script to convert, compress

 Rob Owens <row...@ptd.net> wrote: > $(basename $file wav)ogg If you've got 
bash or some other suitable shell you can do this same thing without resorting 
to a subprocess: W=/some/path/to/wavmusic.wav echo $(basename "$W" wav)ogg 
wavmusic.ogg echo "${W/%wav/ogg}" /some/path/to/wavmusic.ogg Chris -- To 
UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of 
"unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: 
http://lists.debian.org/pud0r9xeqs....@news.roaima.co.uk

Reply via email to