/TakeOutTheTrash

A little Ruby script that deletes files, wich are older than a spezified time peroid

Primary LanguageRuby

TakeOutTheTrash

A little Ruby script that deletes files, which are older than a specified time.

Usage

  • Edit config.json to your needs
  • paths in config.json need to be absolut: /path/to/folder/
  • Add a cronjob to your crontab, to run periodical.

Flags

-f, --force : Dont ask, just delete.