Bash recursing mp3.2.ogg conversion

Rodolfo Alcázar rodolfo.alcazar at padep.org.bo
Fri Sep 2 20:29:34 UTC 2005


On Fri, 2005-09-02 at 15:23 -0500, Bill Gradwohl wrote:
> On Fri, 2005-09-02 at 15:55 -0400, Rodolfo Alcázar wrote:
> > for f in $(find . -name "*mp3"); do command-mp3-2-ogg $f; done
> Put double quotes around the $f as - "$f" - to force file names that
> include spaces to be treated properly.

NOP. See what hapens with an echo, so you can see the output.

$ for f in $(find . -name "*mp3"); do echo command-mp3-2-ogg "$f"; done

command-mp3-2-ogg ./Sting/Englishman
command-mp3-2-ogg In
command-mp3-2-ogg New
command-mp3-2-ogg York.mp3
command-mp3-2-ogg ./Sting/The
command-mp3-2-ogg Hounds
command-mp3-2-ogg Of
command-mp3-2-ogg Winter.mp3

Any other suggestion?

--
Rodolfo Alcazar rodolfo.alcazar at padep.org.bo
Netzmanager Padep, GTZ
591-70656800, -22417628
LA PAZ, BOLIVIA

-- Darth Vader:
I find your lack of faith disturbing.






More information about the users mailing list