[Mimedefang] Temp Directories

Jeff Grossman jeff at stikman.com
Tue Mar 25 22:59:01 EST 2003


I tried the following command on Redhat 7.3, but it told me it command not
found for xargs.  What do I need to install to get xargs?

Thanks,
Jeff

-- 
Jeff Grossman (jeff at stikman.com) 

> > I had someone write a little perl script for me to remove any mdefang
and
> > any qdir that is older than 7 days, and I run the script once a night.
> 
> Actually, a one-line shell script will do it:
> 
> find /var/spool/MIMEDefang -name 'mdefang-*' -type d -mtime +7 -maxdepth 1
| \
> 	xargs rm -r
> 
> (This works on Linux; not sure if the UNIX "find" supports "-maxdepth".)





More information about the MIMEDefang mailing list