sandbox:inotify-tools
inotify-tools on OpenVZ
watch.sh
#!/bin/sh inotifywait -e delete -e modify -r -m $1 | while read dir events file; do echo "$(date) : $events : $dir$file" done
run:
screen /bin/bash -c "./watch.sh /var/www/yoursite.tld/www > yoursite.files.log"
sandbox/inotify-tools.txt · Last modified: 2019/04/25 23:42 by dreiggy