Delete Files By Schedule
I am currently in the process of setting up a temporary file storage server.
I am trying to have a 'script' running which will automatically remove files older than X number of days.
File upload/retrieval is done via FTP. So the script will need to be run separately of this. Basically the file system will look something like this:
[FTP ROOT] -> [username] -> uploaded files and directories
Ideally I would like to a) remove all files older than X days and than after Y remove all files and directories including the [username].
I think I know how to do this (more or less) however I would like to know from others what might be the best way of doing this.
Simplicity is ideal. I would also prefer not to have to install additional software unless its really worth it.
Your help is appreciated. Thanks
|Thread||Thread Starter||Forum||Replies||Last Post|
|FreeBSD console delete key||graudeejs||FreeBSD General||4||24th August 2008 02:37 PM|
|Cannot delete it....||graudeejs||FreeBSD General||9||20th July 2008 01:45 PM|
|Delete Files By Schedule Continued||plexter||OpenBSD General||4||28th June 2008 04:43 AM|
|How to delete account?||khdf||Feedback and Suggestions||5||9th May 2008 10:05 PM|