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.

Thread locked

Messages in this Thread

95,065 Postings in 11,983 Threads, 350 registered users, 118 users online (0 registered, 118 guests)
Index | Admin contact |   Forum Time: Aug 3, 2020 - 10:54 pm EDT  |  Hits:32,810,235  (33,436 Today )
RSS Feed