I've tried deleting, for example, all *nav_blueprnt010* files using the 
rm and find utilities and backquotes.  All these files have 
embedded spaces.

Using the form 
        rm `find /home/httpd/html -name *nav_blueprnt010*` 

results in failure because the backquoted output breaks the files 
into separate parts at every space.  Since the resulting filenames 
are nonsensical, the process fails with a "file not found" type error.

Using the form
        rm "`find/home/httpd/html -name *nav_blueprnt010*`"

generates a sensible backquoted listing with full filenames on each 
line of output.   However the output concatenates all the filenames 
into one excessively long super file.  The process then fails with a 
msg that the file is too long.

Am I tantalizingly close here or totally on the wrong track?

Jerry R. Keene
Senior Systems Analyst
SCS ENGINEERS
Partners With EPA Through The Landfill Methane Outreach Program

Phone: 703.471.6150
Fax: 703.471.6676
http://www.scsengineers.com


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

Reply via email to