clamav-users August 2007 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: Re: [Clamav-users] [BULK] Re: Anything major goi

Re: [Clamav-users] [BULK] Re: Anything major going on with the

From: Ken Sandberg <ksandberg_at_nospam>
Date: Mon Aug 13 2007 - 18:51:22 GMT
To: clamav-users <clamav-users@lists.clamav.net>


On Monday 13 August 2007 11:26 am, Stephen Gran wrote: >...
> How many unix admins does it take to not notice that rm has a recursive
> option?

That is fine, if you want to remove the directory, not just the contents of it. You could remove the directory and then re-create it though.

If you want to just remove files, then the find option works well, although you don't need xargs if you use find, except for performance issues:

find . -type f -exec rm {} \; -- Ken Sandberg. California Lutheran University Information Systems and Services 60 West Olsen Road Thousand Oaks, CA 91360 805-493-3431 _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html