I've got a backup utility that creates one folder every day; I only want to keep the last five folders made, so after the backup is run, I would like to run a script that purges the older folders.
I have touched on several subjects in individual posts prior to this one that now come together in this single post. These subjects include use of File.deleteOnExit() in Groovy, creation of temporary ...