Re: Help with files and spaces with shell script

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

 



On 9/16/07, Paul Ward <pnward@xxxxxxxxxxxxxx> wrote:
> > Enclose the names of the files with quotes. That has worked fine for me.
>
> This does not work with loops unfortunately

This loop, for instance, works here:

for i in *.mp3; do lame --decode "$i" "`basename "$i" .mp3`".wav; done

(It converts all mp3 files in a directory to wav.)

Paul


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

  Powered by Linux