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: [email protected] Subject: Re: bash script to convert, compress Rob Owens <[email protected]> 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 [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

