https://github.com/jacobious52/wdn
Watch Do Notify (macOS)
https://github.com/jacobious52/wdn
Last synced: about 2 months ago
JSON representation
Watch Do Notify (macOS)
- Host: GitHub
- URL: https://github.com/jacobious52/wdn
- Owner: Jacobious52
- Created: 2017-03-22T12:03:05.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-24T11:33:11.000Z (about 9 years ago)
- Last Synced: 2025-12-26T10:47:15.871Z (6 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wdn
Watch Do Notify (macOS)
Simple program to watch a set of files for changes, then execute a bash script and then push an macOS notification with the result
Usage of wdn:
```
-batch
bool: should run save as batch job?
-cmd string
string: shell script to run (default "echo hello")
-log string
string: logging output file (default "/dev/null")
-name string
string: name of command (default "Saved")
-notify
bool: should push macOS notification?
```
Example:
`wdn -name RVSIM -cmd "./test.sh | tail -n 1 | sed $'s,\[[0-9;]*[a-zA-Z],,g'" -notify *.h *.cpp`