Linux: Triggering Shell Command On File Save

bash, filesystems, inotify, linux

Solution

Try inotify-tools. I'm having problems copying the link (sorry), but there is a wiki on GitHub which yu should be able to find with G-search-engine.

Problem

I want to automatically trigger a shell command when a file is modified. I think this can be accomplished in code by registering an inotify hook and call to `system`, however is there a higher level bash command that can accomplish this?

Original source

Related problems