[Mimedefang] Temp Directories

Jeff Grossman jeff at stikman.com
Tue Mar 25 23:21:01 EST 2003


Never mind.  It works correctly.  It helps if you do the command line
correctly.  Is there any problem with using 'mtime +2' instead of the 7
which is listed below?

Thanks,
Jeff

-- 
Jeff Grossman (jeff at stikman.com) 

> -----Original Message-----
> From: mimedefang-admin at lists.roaringpenguin.com [mailto:mimedefang-
> admin at lists.roaringpenguin.com] On Behalf Of Jeff Grossman
> Sent: Tuesday, March 25, 2003 7:58 PM
> To: mimedefang at lists.roaringpenguin.com
> 
> 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".)
> 
> 
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang





More information about the MIMEDefang mailing list