Linux Commands Examples

A great documentation place for Linux commands


Monitor directories for changes


gvfs-monitor-dir [OPTION...] [LOCATION...]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


As long as gvfs-monitor-dir is running, it will print information about file creation, deletion, file content and attribute changes and mount and unmount operations inside the specified directories.

gvfs-monitor-dir uses the GIOs directory monitoring APIs to monitor the given directories. GIO uses different implementations depending on the platform. The most common implementation Linux uses inotify.


The following options are understood:

-h, --help

Prints a short help text and exits.

-N, --no-pair

Don't send single MOVED events.

exit status

On success 0 is returned, a non-zero failure code otherwise.

gvfs monitor dir


How can this site be more helpful to YOU ?

give  feedback