[Mimedefang] MD-Quarantine dir cleanup script?

David F. Skoll dfs at roaringpenguin.com
Fri Sep 19 16:44:01 EDT 2003


On Fri, 19 Sep 2003, Cormack, Ken wrote:

> The problems I've seen with both the xargs and "-exec rm" methods, though,
> is that they can die if the resulting list of "hits" is too long.

xargs is supposed to guard against that.

If you're truly paranoid and have the GNU versions of find and xargs,
you'll use -print0 with find, and -0 with xargs.  Check the man
pages.

Regards,

David.



More information about the MIMEDefang mailing list