Erik wrote:

> cat file_with_names | xargs rm
>
> work great, but i still have one little porblem maybe someone canhelp me
> with.  The files 
> I would like to delete have spaces in them.  In order for the command to
> work, It has to have quotes around the whole name, or i get a bunch of
> errors.  Is there a way around this or a way to easily add quotes to my
> file?

Only slightly harder, and you can type it from the command line:

cat FILENAME | while read FN
do
        rm "$FN";
done;
-- 
        Dave Ihnat
        [EMAIL PROTECTED]


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to