<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=cmd%2Fgio%2Fmonitor</id>
	<title>cmd/gio/monitor - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=cmd%2Fgio%2Fmonitor"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=cmd/gio/monitor&amp;action=history"/>
	<updated>2026-07-25T15:47:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=cmd/gio/monitor&amp;diff=28874&amp;oldid=prev</id>
		<title>Woozle: Created page with &quot;&#039;&#039;&#039;Command&#039;&#039;&#039;: {{l/cmd|gio}} monitor [OPTION...] [LOCATION...] ==About== Monitors files or directories for changes, such as creation deletion, content and attribute changes, a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=cmd/gio/monitor&amp;diff=28874&amp;oldid=prev"/>
		<updated>2024-01-02T22:59:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Command&amp;#039;&amp;#039;&amp;#039;: {{l/cmd|gio}} monitor [OPTION...] [LOCATION...] ==About== Monitors files or directories for changes, such as creation deletion, content and attribute changes, a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Command&amp;#039;&amp;#039;&amp;#039;: {{l/cmd|gio}} monitor [OPTION...] [LOCATION...]&lt;br /&gt;
==About==&lt;br /&gt;
Monitors files or directories for changes, such as creation deletion, content and attribute changes, and mount and unmount operations affecting the monitored locations.&lt;br /&gt;
&lt;br /&gt;
The monitor command uses the GIO file monitoring APIs to do its job. GIO has different implementations for different platforms. The most common implementation on Linux uses [[inotify]].&lt;br /&gt;
==Options==&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! option || description&lt;br /&gt;
|-&lt;br /&gt;
| -d, --dir=LOCATION&lt;br /&gt;
| Monitor the given location as a directory. Normally, the file type is used to determine whether to monitor a file or directory.&lt;br /&gt;
|-&lt;br /&gt;
| -f, --file=LOCATION&lt;br /&gt;
| Monitor the given location as a file. Normally, the file type is used to determine whether to monitor a file or directory.&lt;br /&gt;
|-&lt;br /&gt;
| -D, --direct=LOCATION&lt;br /&gt;
| Monitor the file directly. This allows changes made via hardlinks to be captured.&lt;br /&gt;
|-&lt;br /&gt;
| -s, --silent=LOCATION&lt;br /&gt;
| Monitor the file directly, but don’t report changes.&lt;br /&gt;
|-&lt;br /&gt;
| -n, --no-moves&lt;br /&gt;
| Report moves and renames as simple deleted/created events.&lt;br /&gt;
|-&lt;br /&gt;
| -m, --mounts&lt;br /&gt;
| Watch for mount events.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>