User Tools

no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


rsync [2024/07/03 08:17] (current) – created norman
Line 1: Line 1:
 +====== Rsync Helpers ======
  
 +
 +===== Continuously sync files, monitoring for changes. =====
 +
 +
 +<code>apt-get install inotify-tools</code>
 +
 +<code>while inotifywait -r -e modify,create,delete,move /var/www/; do rsync -avP root@192.168.1.1:/var/www/ /var/www; done > /dev/null 2>&1 < /dev/null</code>