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.


Messages in this Thread

94,242 Postings in 11,887 Threads, 347 registered users, 7 users online (0 registered, 7 guests)
Index | Admin contact |   Forum Time: Apr 26, 2019 - 2:21 am EDT  |  Hits:27,538,742  (300 Today )
RSS Feed