[Mimedefang] Temp Directories
David F. Skoll
dfs at roaringpenguin.com
Mon Mar 24 08:04:00 EST 2003
On Mon, 24 Mar 2003, Rabie van der Merwe wrote:
> 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".)
--
David.
More information about the MIMEDefang
mailing list