[Gllug] A command to repeat a function for each file
SteveC
steve at fractalus.com
Fri Feb 15 11:12:04 UTC 2002
* David Damerell (damerell at chiark.greenend.org.uk) wrote:
> On Thursday, 14 Feb 2002, Nick Hill wrote:
> >if function is foobar and input file is %1 and output file name is %2
> >
> >foobar 'sox %1 -r 11025 %2 resample' *.wav *11025.wav
> >so that each file.wav gets re-sampled and written as file11025.wav
modify 12.4 in:
http://www.linuxdoc.org/HOWTO/Bash-Prog-Intro-HOWTO-12.html#ss12.1
have fun,
SteveC steve at fractalus.com fractalus.com/steve
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list