procmail
[Top] [All Lists]

Re: Automatically Deleting Based on Date

1996-07-01 11:38:58


At 18:10 96-06-28, Brock Rozen wrote:

I haven't figured out how to have it delete the previous folder
automatically. These messages are received (if everything works out) once
a day. Thus, the previous folder is the day before.

Although I'm in AWE of David's solution, this really sounds like a job
for find, run by cron.


Except for the fact that that is insecure via race conditions that will allow
someone to remove any file owned by the user running the find in many
cases.
 Be very very careful with this.. (find from cron - especially as root)

--
____________________________________________________________________________
Doug Hughes                                     Engineering Network Services
System/Net Admin                                Auburn University
                        doug(_at_)eng(_dot_)auburn(_dot_)edu