Instant Reactions to Filesystem Events with inotify
The ability to run programs automatically is one of the great liberating powers of computers. In Unix, it's common for users to schedule jobs using cron or at (or with systemd, timers). But what if you want to run a job not based on a schedule but rather in response to an event? Imagine you had a directory and whenever you put a file in that directory, you wanted it to be compressed and put in a backup directory. Or perha...
Read More