Menu

Home

Schafohr

The Maintain util is to remove files or directories eg. log files automaticaly. The tool will be configured with an config.xml.

  • Configuration Example
    in this Example there are 3 Configurations
    1 For Files and in the testmode
    2 For Directoies and realmode ( deleting enabled)
    3 For Directories with a longer regex

The example Configuration uploaded and ready for your download. For testing please set the realmode in the configuration File to false -> now you are in the testmode and no files will be deleted.

Call the Maintainer with
java -jar Maintainer-0.2.jar configuration.xml

The sorting is based on the name of the file or directory another sorting criteria will be added in the next version ( File / Directory creation date, File / Directory changed date)

The zip file include the current directory structure and log4j2 libs


Auth0 Logo