How to trigger commands on File/Directory changes with Incron on Debian
This guide shows how you can install and use incron on a Debian 8 (Jessie) system. Incron is similar to cron, but instead of running commands based on time, it can trigger commands when file or directory events occur (e.g. a file modification, changes of permissions, etc.).