directory:monitor_a_directory_for_changes:using_iwatch
Differences
This shows you the differences between two versions of the page.
directory:monitor_a_directory_for_changes:using_iwatch [2021/01/26 11:03] – created peter | directory:monitor_a_directory_for_changes:using_iwatch [2022/06/13 09:15] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Directory - Monitor a directory for changes - Using iwatch ====== | ||
- | ===== Install iwatch ===== | ||
- | |||
- | <code bash> | ||
- | sudo apt install iwatch | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Monitor a directory ===== | ||
- | |||
- | <code bash> | ||
- | iwatch /somedir | ||
- | |||
- | iwatch -r -c '(w; ps -aux)' | echo '%f was changed' | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | </ | ||
- | |||
- | |||
- | ---- | ||
- | |||
- | ==== References ==== | ||
- | |||
- | http:// |
directory/monitor_a_directory_for_changes/using_iwatch.1611658994.txt.gz · Last modified: 2021/01/26 11:03 by peter