<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Knowledge Base (Posts about inotify)</title><link>https://bgstack15.ddns.net/blog/</link><description></description><atom:link href="https://bgstack15.ddns.net/blog/categories/inotify.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2025 &lt;a href="mailto:bgstack15@gmail.com"&gt;bgstack15&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-SA"
style="border-width:0; margin-bottom:12px;"
src="https://bgstack15.ddns.net/.images/l_by-sa_4.0_88x31.png"&gt;&lt;/a&gt;</copyright><lastBuildDate>Wed, 26 Feb 2025 15:27:16 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Inotifywait notes</title><link>https://bgstack15.ddns.net/blog/posts/2020/10/20/inotifywait-notes/</link><dc:creator>bgstack15</dc:creator><description>&lt;p&gt;This is probably my most useful snippet for inotifywait. It will watch all
items underneath /tmp/qux for the listed events and use the time format
listed. Unfortunately I was unable to get it to emit UTC timestamps, but
that's OK because I can at least get it to display the offset.&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;inotifywait -m --exclude '(.*.swp|.git.*)' -r /tmp/qux -e modify,moved_to,move_self,create,delete,delete_self --format '%T % e %w%f' --timefmt '%FT%T%z'
&lt;/pre&gt;&lt;/div&gt;</description><category>inotify</category><category>notes</category><guid>https://bgstack15.ddns.net/blog/posts/2020/10/20/inotifywait-notes/</guid><pubDate>Tue, 20 Oct 2020 13:09:14 GMT</pubDate></item></channel></rss>