|
Project Information
Links
|
FileWatcher: The program monitors selected directories within given
directory for any changes and runs the provided command if any changes
are made. The given command can contain "%WDIR%" and "%UDIR%"
tags, that would be substituted with relative path of directories changed.
The directories to be monitored are selected based on last modified
files in given directory.
Options:
-d Directory : Directory to be monitored
-c Command : Command to execute when any file is modified
-h : Prints this usage message
-q : [Optional] Quite Mode
-v : [Optional] Verbose
-t Timeout : [Optional] Max Timeout in seconds to wait for
directory changes. Default value is Infinite.
Non-Infinite value is useful to accurately monitor
rarely modified directories.
-m MaxCount : [Optional] Maximum number of changes before re-parsing
whole tree for file modification times. Higher value
saves initialization time for big directories but
tradeoff accuracy. Default value is 1
-r Level : [Optional] Maximum directory levels to look for files
to be monitored. Default value is 0 => Infinite Levels.
-i Pattern : [Optional] Only monitor name matching given regex.
-x Pattern : [Optional] Don't monitor name matching given regex.
-w WatchCount : [Optional] Max directories to monitor. Default is 50
value = 0=> as allowed by OS. Useful for remote folders
|