Bash recursing mp3.2.ogg conversion

Bill Gradwohl bill at ycc.com
Fri Sep 2 20:23:36 UTC 2005


On Fri, 2005-09-02 at 15:55 -0400, Rodolfo Alcázar wrote:
> Well, I want help solving this with bash, I have this same problem. With
> 
> for f in $(find . -name "*mp3"); do command-mp3-2-ogg $f; done
> 
> the recursing problem (handled by find) is solved. But if any file or
> dir have spaces, the find output will be incorrectly handled. Find
> output will be something like
Put double quotes around the $f as - "$f" - to force file names that
include spaces to be treated properly.

-- 
Bill Gradwohl
(817) 224-9400
bill at ycc.com




More information about the users mailing list