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.

104 views      
 

Messages in this Thread

 
94,117 Postings in 11,873 Threads, 347 registered users, 16 users online (0 registered, 16 guests)
Index | Admin contact |   Forum Time: Feb 15, 2019 - 4:35 pm EST  |  Hits:27,170,052  (2,626 Today )
RSS Feed