Please try this approach instead:

find / -iname dead.letters | xargs rm 

The difference is that the minimal number of rm commands will be executed to
get the job done. The -exec will cause one process for every file that
matches. Not a big deal if there are only a few files, but it can be a very
big deal if there are thousands.

 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
-------divided by zero. Listen to me! We are all individuals!---------

On Fri, 10 Dec 1999, Vidiot wrote:

=>>I'm no programmer.
=>>can somoone show me a quick
=>>script that would run through
=>>the whole system to remove
=>>dead.letters off the system.
=>
=>No script needed, simple command:
=>
=>find / -iname dead.letters -exec rm {} \;
=>
=>MB
=>


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

Reply via email to