Re: Automatic way of applying the same command to a bunch of files

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

 



Paul Smith wrote:
Dear All

I have in a directory a bunch of wav files to which I want to apply
the following command:

sox filename.wav -r 44100 output_filename.wav

for i in `ls *.wav` ; do sox $i -r 44100 output_$i.wav ; done

should do it.

-Andy


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux