ZTree.com  | ZEN  | About...  

 Index   Back

Just discussing now   [Help!]

By: Peter Shute       
Date: Feb 06,2019 at 20:12
In Response to: [Help!] An interim solution (GoSlow2GoFast)

> It feels like a schedule batch script of some sort (BAT, VBS, PS1) to
> manage these files would be the best long term approach. If you gather
> up specifics and examples I'd be happy to help. We crank these things
> out all the time over on Experts Exchange, a site I often volunteer time
> helping posters solve problems.

I think I've probably got it worked out now, so now I'm just interested to hear what others have done. Having exact 7 day retention isn't essential, so the 10 day retention will make it fairly straightforward, I think.

I'm just surprised there's no well known solution to this kind of thing. Disks filling up with logs seems to be a very common problem, like programmers can't be bothered to think ahead about the time bomb they've created.

I came across a nice solution to the problem of deleting all files older than a date a while back. Someone on some forum suggested running robocopy with the /mov /minage:x /purge switches. That moves the oldest files to another location, and then erases files at the other location that aren't in the source dir (ie the ones that got moved last time).

114 views      
 

Messages in this Thread

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