I think what's most appropriate is "fsniper", which uses inotify. "fsniper is a tool that monitors a given set of directories for new files. Then, based on the new file's type or name, it invokes a script to be run (any executable via the shell) on that file. Common uses include making a single drop directory for all things from a webbrowser etc, and having semi-intelligent scripts figure out what to do with those files." Seems like that's pretty much... exactly what the user was looking for originally. You just have it monitor your directory, and make it execute a script when a new file arrives. Cheers. -AT 2009/3/25 Johannes Held <mail@hehejo.de>:
What about inotify?
http://www.ibm.com/developerworks/linux/library/l-inotify.html
-- Gruß, Johannes Täglich http://blog.hehejo.de und du fühlst dich gut.