The fileschanged utility is a FAM (File Alteration Monitor) client. From the command-line it monitors sets of files and shows you when they change. You can use fileschanged in shell scripts to take action when monitored files become altered. In it's simplest form, you can give fileschanged filenames to monitor from stdin, and it will report when those files have changed via stdout. You can stop fileschanged from monitoring files by pressing CTRL-C. In a more complex usage, fileschanged can monitor command-line specified files recursively, while following symbolic links, while staying on the current filesystem, and reporting deleted files as well as created and changed files that haven't been written to for 2 seconds. This software is protected by the GNU General Public License, so users are free to share and change it.
GNU fileschanged was written by Ben Asselstine.