Simple question
Gregor Mosheh
stigmata_blackangel at YAHOO.COM
Thu Apr 21 08:00:07 PDT 2005
--- luca marletta <lucamarle at GMAIL.COM> wrote:
> I'm wondering if
> there is a simple and easy way to get rid of all
> images that fill the images directory.
If you're using Unix, then a cronjob like this should
do the job:
/usr/bin/find /path/to/images.tmp -type f -atime +1d
-delete >/dev/null 2>/dev/null
That says to delete any files that haven't been
accessed in 1 day or more. Check the find manpage for
more details.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the MapServer-users
mailing list