Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xvpr/vpr-overwatch
A command line utility for executing a specified command when a file(s) is/are modified.
https://github.com/0xvpr/vpr-overwatch
command-line command-line-tool file-modification file-modification-time file-monitor tool watch watchdog watcher
Last synced: about 2 months ago
JSON representation
A command line utility for executing a specified command when a file(s) is/are modified.
- Host: GitHub
- URL: https://github.com/0xvpr/vpr-overwatch
- Owner: 0xvpr
- License: mit
- Created: 2023-01-20T03:45:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T05:49:40.000Z (9 months ago)
- Last Synced: 2024-04-14T20:49:59.784Z (9 months ago)
- Topics: command-line, command-line-tool, file-modification, file-modification-time, file-monitor, tool, watch, watchdog, watcher
- Language: C++
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vpr-overwatch
A command line utility for executing a specified command when a
file(s) is/are modified.## Usage
```bash
Error message: Missing arguments..Usage: ./bin/vpr-overwatch /path/to/file1 /path/to/fileN -c 'command to execute' [ ]
or
Usage: ./bin/vpr-overwatch /path/to/file 'command to execute'optional positional arguments:
/path/to/file(s), 'command'required arguments:
-c specify a command to be executed
-f specify a single file to monitoroptional arguments:
-i execute at least once initially, before modification is detected
-r recurse through a given directory
-f specify frequency in microseconds
-v enable minimum verbosity
-vv enable increased verbosity
-vvv enable maximum verbosityexample:
./bin/vpr-overwatch . 'clear && echo testing'
```## Building
- Linux
```bash
make
```- Windows (using MSVC + CMake)
```powershell
cmake.exe . -B build
cmake.exe --build build --config Release
```