To use, change /dir to the directory you want and add to a cron job or execute manually.
SH: Delete files older than 7 days
Started by
Guest_Jordan_*
, Aug 31 2006 06:01 PM
17 replies to this topic
#1
Guest_Jordan_*
Posted 31 August 2006 - 06:01 PM
Guest_Jordan_*
Here is a simple script, as requested, that deletes files in a directory older than 7 days. This is good to use in conjunction with a backup script of some sort.
To use, change /dir to the directory you want and add to a cron job or execute manually.
To use, change /dir to the directory you want and add to a cron job or execute manually.
|
|
|
#2
Posted 17 October 2008 - 04:50 AM
Thanks a lot... This is what i was looking for.
#3
Guest_Jordan_*
Posted 17 October 2008 - 04:57 AM
Guest_Jordan_*
No problem, if you have any questions about it feel free to ask.
#4
Posted 20 January 2009 - 07:35 PM
Thanks a lot bro :)
#5
Guest_Jordan_*
Posted 21 January 2009 - 05:44 AM
Guest_Jordan_*
No Problem.
#6
Posted 23 January 2009 - 04:22 PM
Nice Script, I may be implementing it soon on one of my servers :)
#7
Guest_Jordan_*
Posted 23 January 2009 - 05:04 PM
Guest_Jordan_*
It might come in handy for you to use. If you need any help just let me know.
#8
Posted 02 April 2009 - 06:43 AM
Thanks bro
#9
Posted 20 April 2009 - 12:32 PM
awesome, thanks
#10
Posted 21 April 2009 - 12:50 PM
Nice script
#11
Posted 05 May 2009 - 06:08 PM
very nice
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript
#12
Posted 27 May 2009 - 12:48 AM
good work


Sign In
Create Account


Back to top










