I am working on a project to manage files. The idea is to transfer information about a file's location through file name itself. So, whenever a user renames a file, the process will scan the filename and move it to the desired location. But I don't know how to signal the process whenever any file is renamed.
Isn't this the kind of thing that FAM was invented for?<p><a href="http://oss.sgi.com/projects/fam/" rel="nofollow">http://oss.sgi.com/projects/fam/</a>
<a href="http://en.wikipedia.org/wiki/File_alteration_monitor" rel="nofollow">http://en.wikipedia.org/wiki/File_alteration_monitor</a><p>(Or specific things like inotify on Linux: <a href="http://en.wikipedia.org/wiki/Inotify" rel="nofollow">http://en.wikipedia.org/wiki/Inotify</a> )