directory:monitor_a_directory_for_changes:using_iwatch
This is an old revision of the document!
Table of Contents
Directory - Monitor a directory for changes - Using iwatch
Install iwatch
sudo apt install iwatch
Monitor a directory
iwatch /somedir iwatch -r -c '(w; ps -aux)' | echo '%f was changed' /somedir
NOTE: Executes the w and ps -aux command upon the event occuring.
References
directory/monitor_a_directory_for_changes/using_iwatch.1611658994.txt.gz ยท Last modified: 2021/01/26 11:03 by peter