LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: pipe to rm?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: pipe to rm?
From: "Michael Rasmussen" <rasmussenm@xxxxxxxxxxxxxxxxx>
Date: Wed, 19 Sep 2001 11:13:35 -0700
as root:  

find / -name "*\.eml" -exec rm -f {} \;
        or
find / -name "*\.eml" | xargs rm -f 

You might want to just

find / -name "*\.eml" | more

first to make sure you don't have any file with that name you wish to keep

--  
  Michael Rasmussen - Network Engineer, Columbia Management
  voice:  503-973-6723  cell:  503-807-1447  rasmussm@xxxxxxxxxxxxxxxxx
  <mailto:rasmussm@xxxxxxxxxxxxxxxxx> http://www.columbiafunds.com

> -----Original Message-----
> From: Zachariah Mully [mailto:zmully@xxxxxxxxxxxxxx]
> Sent: Thursday, September 20, 2001 9:57 AM
> To: LVS
> Subject: OT: pipe to rm?
> 
> 
> 
>       Sorry about the off topic post, but this dang Nimda 
> worm is spreading
> eml files all over my samba servers and the idiots here at the office
> insist on opening them up (I can only patch so many computers at a
> time...) My bash knowledge is shaky at best and I can't figure out how
> to generate a list of *.eml files and then how to pipe this 
> into rm. Can
> anyone help?
> 
> Thanks again and sorry about the OT post.
> 
> Zack
> 
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> 

NOTICE:  This communication may contain confidential or other privileged 
information.  If you are not the intended recipient, or believe that you have 
received this communication in error, please do not print, copy, retransmit, 
disseminate, or otherwise use the information.  Also, please indicate to the 
sender that you have received this email in error, and delete the copy you 
received.  Any communication that does not relate to official Columbia business 
is that of the sender and is neither given nor endorsed by Columbia.  Thank you.




<Prev in Thread] Current Thread [Next in Thread>
  • RE: pipe to rm?, Michael Rasmussen <=