AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Delete old files (https://forums.alliedmods.net/showthread.php?t=185504)

DjOptimuS 05-18-2012 11:36

Delete old files
 
If there a way to check the last date when a file was modified?

And if it older than 30 days for example, delete it.

I want to do this to clear old log files. Both HLDS and AMXX logs.

I only need to check last time when X file was updated.


All times are GMT -4. The time now is 00:22.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.