Bash recursing mp3.2.ogg conversion

Rodolfo Alcázar rodolfo.alcazar at padep.org.bo
Tue Sep 6 11:33:59 UTC 2005


On Mon, 2005-09-05 at 23:51 +0100, James Wilkinson wrote:
> [james at kendrick Graham Kendrick]$ IFS="
> > "
> [james at kendrick Graham Kendrick]$ for f in $(find . -name "*mp3"); do echo command-mp3-2-ogg "$f"; done
> command-mp3-2-ogg ./How Long.mp3
> command-mp3-2-ogg ./Do Something Beautiful.mp3
> command-mp3-2-ogg ./There is a hope so sure.mp3
> command-mp3-2-ogg ./Oh I was made for this.mp3
> command-mp3-2-ogg ./Blessed are the humble.mp3
> command-mp3-2-ogg ./Earth Lies Spellbound.mp3

Excellent! I know the find -exec approach, but this is what I want to
know. Best regards!

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

-- Jabba the Hutt:
Bring me Solo and the Wookiee! They will all suffer
for this outrage.






More information about the users mailing list