I've wanted a way to track when a file changes for a while. A simple poll of
ls -la is not an elegant solution; I wanted the operatign system to notify me. It took me a long time to formalize exactly what I was looking for. When I did, I immediately found:
Inotify
Inotify2
As always, 90% of the solution is just to formulate the question properly.