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.

184 views      
 

Messages in this Thread

 
94,310 Postings in 11,899 Threads, 347 registered users, 9 users online (0 registered, 9 guests)
Index | Admin contact |   Forum Time: Jun 19, 2019 - 3:37 pm EDT  |  Hits:27,907,259  (1,647 Today )
RSS Feed