<h1 id="using-the-incron-file-watching-daemon">Using the Incron file watching daemon</h1>
<blockquote>
<p>Check out the <a href="https://linux.die.net/man/5/incrontab">man page</a> for incron and also <a href="https://www.cyberciti.biz/faq/linux-inotify-examples-to-replicate-directories/">this write-up</a> by Nixcraft.</p>
</blockquote>
<p>basic usage:</p>
<p><code>incrontab -e</code></p>
<p>In your editor of choice, follow this syntax:</p>
<p><code>&lt;path-to-watch&gt; &lt;event mask&gt; command</code></p>


<h3>Links</h3>
<ul>
<li><a href="https://linux.die.net/man/5/incrontab">https://linux.die.net/man/5/incrontab</a></li>
<li><a href="https://www.cyberciti.biz/faq/linux-inotify-examples-to-replicate-directories/">https://www.cyberciti.biz/faq/linux-inotify-examples-to-replicate-directories/</a></li>
</ul>