NOTIF : Files and dirs changes notifier
Notif uses the following syntax:
Notif [-? -s -d -f -e:FDZSAWX -o:"log_file"] directory [...]
Parameters
-?
Prints the syntax.
-s
If this flag is set, specifies to
monitor the directory and its subdirectories.
If not set, subdirs are not monitored.
-d
Detach this program from the console.
If this flag is set, the flag -o must be defined.
Once detached from console, notif runs in the background and you must
use the TaskManager if you want to kill it.
-f
Expand pathname to its canonical form, in log and env var.
-e:FDZSAWX (case insensitive: upper- or lower-case)
Specifies which events to monitor:
| F | Filename changes (renaming, creating, or deleting a filename). |
| D | Directory-name changes (renaming, creating or deleting a directory). |
| Z | File-size changes. |
| S | Security-descriptor changes. |
| A | File or dir attribute changes. |
| W | Last-write attribute changed. |
| X | This is a shortcut for "all events" (FDZSAW). |
If the -e option is not set on the command-line, notif will watch
for the following events: FDZ (file/dir name changes, size changes).
-o:"log_file"
Writes events' log in file "log_file".
Note: An error will occur if "log_file" file is located in a monitored
path.
directory [...]
Directories to monitor (up to 128 dirs). Relative or
absolute paths are ok, but wildcards are not allowed here.