Hello all. I needed a utility to keep a set of backup files to a certain number of days before today. For example, delete all *.backup files older than 90 days.
I created this simple library function, RemoveAfter, to take the number of days to keep and a file pattern. Please note this does use 2 of my other library functions, DebugPrint and GetOpt. Both of them are part of this forum (near the bottom.)
I hope someone finds this useful. If you find a bug or have an improvement...
Read more
I created this simple library function, RemoveAfter, to take the number of days to keep and a file pattern. Please note this does use 2 of my other library functions, DebugPrint and GetOpt. Both of them are part of this forum (near the bottom.)
I hope someone finds this useful. If you find a bug or have an improvement...
Read more