diff --git a/osync.sh b/osync.sh index 96b395b..f8d04e6 100755 --- a/osync.sh +++ b/osync.sh @@ -3,7 +3,7 @@ ###### Osync - Rsync based two way sync engine with fault tolerance ###### (L) 2013 by Orsiris "Ozy" de Jong (www.netpower.fr) OSYNC_VERSION=0.99RC2-qs -OSYNC_BUILD=1811201301 +OSYNC_BUILD=1811201303 DEBUG=no SCRIPT_PID=$$ @@ -1689,6 +1689,8 @@ function SyncOnChanges exit 1 fi + Log "Running Osync in file monitor mode." + while true do inotifywait --exclude $OSYNC_DIR $RSYNC_EXCLUDE -qq -r -e create -e modify -e delete -e move -e attrib "$MASTER_SYNC_DIR/"