https://github.com/znerol/mdnotify
Watches a directory recursively and invokes the given command whenever a change is detected
https://github.com/znerol/mdnotify
Last synced: 8 months ago
JSON representation
Watches a directory recursively and invokes the given command whenever a change is detected
- Host: GitHub
- URL: https://github.com/znerol/mdnotify
- Owner: znerol
- License: gpl-3.0
- Created: 2023-06-05T14:00:59.000Z (almost 3 years ago)
- Default Branch: develop
- Last Pushed: 2023-06-05T19:54:55.000Z (almost 3 years ago)
- Last Synced: 2025-03-22T05:43:48.433Z (about 1 year ago)
- Language: Swift
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING.txt
Awesome Lists containing this project
README
# mdnotify
Watches a directory recursively and invokes the given command whenever a change is detected.
## Usage
```
mdnotify --help
OVERVIEW: Watches a directory recursively.
Runs forever, or until mdnotify is terminated. Whenever a filesystem object is
changed at any level inside the watched directory tree, the given command is
invoked.
USAGE: mdnotify [--interval ] [ ...]
ARGUMENTS:
The directory to watch.
The command to execute. (default: echo )
OPTIONS:
-i, --interval
The interval at which a change notification occurs in
seconds. (default: 1.0)
-h, --help Show help information.
```
## License
GNU General Public License v3.0 or later