Linux.com

Automatically process new (OR CHANGED) files with fsniper

Posted by: Anonymous [ip: 66.65.48.101] on October 17, 2008 08:14 PM
From the documentation:
...
fsniper is a utility that waits for a file to be changed or created,
and then executes a command on that file.
...
fsniper uses inotify to watch for when a file is closed after being written
to. This means utilities such as touch will cause the event to trigger.
...


The utility is more useful than you mentioned in the article. This utility can also allow users to
automatically backup files that have changed, such as source code or /etc configuration files.
Please be more thorough in your description of the features.

#

Return to Automatically process new files with fsniper