Re: [linux-audio-user] lame and filenames

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] lame and filenames
From: anahata (anahata_AT_treewind.co.uk)
Date: Sun Sep 12 2004 - 12:16:18 EEST


On Sun, Sep 12, 2004 at 05:09:06AM +0200, Christian Henz wrote:

> for a in *.wav; do lame $a `echo $a | sed 's/\(.*\)wav$/\1mp3/'`; done
>
less messy (and faster executing) is to let bash do the substituting:

  for a in *.wav ; do lame $a ${a/.wav/.mp3} ; done

-- 
Anahata
anahata_AT_treewind.co.uk -+- http://www.treewind.co.uk
Home: 01638 720444         Mob: 07976 263827


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Sep 12 2004 - 12:19:44 EEST