A program to monitor the filesystem activity through the inotify Linux kernel library and executes a user defined command when specific events occurs. Useful for automatic backup system, alert monitor for directories and files, continuous testing and more.
This is a experimental release. At this stage we are testing the software as best as we can. If you would like to help us to test and improve this software, feel free to do everything you want.
Requirements:
sudo apt install check
A Quick-start:
-
Clone the project:
$git clone https://github.com/joebew42/cwatch.git
-
Compile it:
$cd cwatch/ $autoreconf --install $./configure $make
-
Run all tests:
$make -s check
-
Start use it:
4.1. Read the manual
./src/cwatch --help
4.2. Share with us your use case
Note: This README is just a draft. In the next days we will provide a new one well organized.
./src/cwatch -c "make -s check" -d src/ -v -n
NOTE
⚠️ This generates a loop sincemake -s check
will update the objects files (.o
) inside thesrc/
folder.
./src/cwatch -c "make -s check" -d src/ -v -n -X '.*\.[ch]$'