endofzero / Minecraft-Sheller

Shell script designed to allow for automation of Minecraft Server Administration.
62 stars 18 forks source link

Logs clean - not functioning correctly. #9

Closed endofzero closed 13 years ago

endofzero commented 13 years ago

Clean now works correctly. It was just looking for static folder names that were equal to today minus the backdate config setting. Now uses pretty much the same method as backups as far as find files, or folders in this case, and take actions for the ones older than a certain date. This gives the user quite a bit more flexibility as far as when they want to run the clean command. Before you were required to run clean once a day otherwise you would miss folders, this is no longer the case.

Plus the naming convention for the folder has been improved for sorting and visibility as well.