On Thu, 20 Sep 2001, Zachariah Mully wrote:
for i in `find / -type f -name "*.eml"`
do
echo "removing $i " >> /tmp/emlfiles
rm -f $i
done
>
> 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
>
--
----------------------------------------------------------------------
Matthew S. Crocker
Vice President / Internet Division Email: matthew@xxxxxxxxxxx
Crocker Communications Phone: (413) 587-3350
PO BOX 710 Fax: (413) 587-3352
Greenfield, MA 01302-0710 http://www.crocker.com
----------------------------------------------------------------------
|