« Previous 1 2 3
Look for file changes and kick off actions with Watchman
On Guard
Conclusion
Watchman is a flexible tool under active development. Even if its usage seems unfriendly, learning some basic functionality can help you accomplish complex tasks with your own scripts. Here, I looked at two use cases: triggering rsync and a real-time virus scanner. Instead of triggering an action, you could also simply query Watchman for changes that happen inside a directory during a given period. The uses for Watchman are numerous: No doubt a number of applications have occurred to you already.
Infos
- Watchman: https://facebook.github.io/watchman/
- Installation: https://facebook.github.io/watchman/docs/install.html
- Authentication without password with SSH and rsync: http://www.teachmejoomla.net/code/misc/authentication-without-password-with-ssh-and-rsync.html
- Simple pattern syntax: https://facebook.github.io/watchman/docs/simple-query.html
- ClamAV: http://www.clamav.net/
- Linux Malware Detect : https://www.rfxn.com/projects/linux-malware-detect/
- SmartOS: https://smartos.org
- watchman-pkgsrc GitHub site: https://github.com/alcir/watchman-pkgsrc/blob/master/files/manifest.xml
« Previous 1 2 3
Buy this article as PDF
Express-Checkout as PDF
Price $2.95
(incl. VAT)
(incl. VAT)