Monitor files for changes
- gvfs-monitor-file [OPTION...][LOCATION...]
gvfs-monitor-file uses the GIOs file monitoring APIs to monitor the given files. GIO uses different implementations depending on the platform. The most common implementation Linux uses inotify.
The following options are understood:
- Prints a short help text and exits.
- Shows the version number and exits.
- Don't send single MOVED events.
On success 0 is returned, a non-zero failure code otherwise.