ZTree.com  | ZEN  | About...  

 Index   Back

[Help!] Any clever ideas how to cull log files to a GFS scheme?   [Help!]

By: Peter Shute       
Date: Feb 06,2019 at 17:35

I have a folder full of daily log files. Rather than just delete all but the most recent ones, I'd like to leave, say, daily logs for a month, weekly logs for a year, monthly logs older than a year.

Is there a clever way to do this? The only ways I can see to do it would be to pick through them manually, or maybe paste a dir listing into Excel and come up with formulas to flag which ones to delete.

It would be nice to be able to automate this.

237 views      
Thread locked
 

Messages in this Thread

 
94,593 Postings in 11,933 Threads, 348 registered users, 10 users online (0 registered, 10 guests)
Index | Admin contact |   Forum Time: Nov 22, 2019 - 9:03 pm EST  |  Hits:29,239,796  (14,474 Today )
RSS Feed