Help with files and spaces with shell script

Paul Ward pnward at googlemail.com
Sun Sep 16 18:21:34 UTC 2007


Thanks for your help.

I have found that using the read command also works with spaces and
can take the output of find and convert it to a variable. The only
issue I have found is mencoder will not convert a file with a space. I
may have to convert teh spaces to _ for this script to work
consistently.

find /myth/recordings/ -maxdepth 1 -name \*.mpg -ctime -1 ! -mmin -1
-print | while read i




More information about the fedora-list mailing list