hpr2003 :: Using the Incron file watching daemon
Summary: I briefly introduce the incron file watching daemon, and give an example of how I use it.
Series: Bash Scripting
Source: [http://hackerpublicradio.org/eps.php?id=2003](http://hackerpublicradio.org/eps.php?id=2003)
Using the Incron file watching daemon
=====================================
Check out the man page for incron and also this write-up by Nixcraft.
basic usage:
incrontab -e
In your editor of choice, follow this syntax:
<path-to-watch> <event mask> command
Links
[https://linux.die.net/man/5/incrontab](https://linux.die.net/man/5/incrontab)
[https://www.cyberciti.biz/faq/linux-inotify-examples-to-replicate-directories](https://www.cyberciti.biz/faq/linux-inotify-examples-to-replicate-directories)/
1/1hpr2003
Comments
Be the first to comment
There aren't any comments on this content yet. Start the conversation!