To my knowledge, there's no other way than recursively setting an inotify watch on each directory. That said, you won't run out of file descriptors ...
Essentially it's a service that leverages inotify and you can setup configurations to
take action based on file change operations. Ex:
Fswatch is a free, open source multi-platform file change monitor utility that notifies us when the contents of the specified files or directories are ...
In this article, we will explain how to install and use watchman to watch (monitor) files and record when they change in Linux. We will also briefly ...
How do I monitor files or directories using auditd in Red Hat Enterprise Linux ? How do I monitor a file or directory to see which user or program ...
watch -n 60 from. To watch the contents of a directory change, you could use
The inotify kernel system is what you need. Install inotify-tools : sudo apt-get install inotify-tools. Set up a watch: inotifywait /path/to/directory ...
It is, at times, important to know when things change in the Linux OS.
I want to track activity, such as user activity, file changes, and directory changes on my Amazon Elastic Compute Cloud (Amazon EC2) Linux ...
inotifywait from inotify-tools is useful if you want to run a command every time a file (or any files in a directory) change. For example: inotifywait -r -m -e modify ...