Delete files older than [X] time. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Delete files older than [X] time. (
/showthread.php?tid=184285)
Delete files older than [X] time. -
Whizion - 19.10.2010
I have over 5000 accounts in my scriptfiles and a lot of them (60-70%) are not being used, and it's really annoying to make a backup of all of them. So i was thinking of downloading all of them on to my computer, and deleting them with some program that checks how old their are. So does anybody know a good program or tool which can help me with this? Thank you.
Re: Delete files older than [X] time. -
Saurik - 19.10.2010
you need a php script to do it instead of downloading it
Re: Delete files older than [X] time. -
iFriSki - 19.10.2010
If on windows, you could sort by the last accessed/edited time and delete the old ones.. I'm pretty sure others OS's support it as well.
Most FTP programs have it as well for sorting..
Re: Delete files older than [X] time. -
Slice - 19.10.2010
- Put the view to detailed list
- Click the date column to sort them by date
- Select the oldest file
- Scroll to the newest file you want to delete
- Hold shift and press the newest file you want to delete
Re: Delete files older than [X] time. -
••• ĤБĶБM ••• - 19.10.2010
Connect using FTP, and then hit the date and sort them by order. Then just select all the old ones (might take some time) and delete them.
That's it.
Re: Delete files older than [X] time. -
Whizion - 19.10.2010
Thanks all, i deleteted 2500+ accounts.