Displaying 1 result from an estimated 1 matches for "_new_file_".
2001 Nov 06
1
rsync for realtime filesystem replication.
...d, this is the ugly rule I can use
currently for half-assed realtime replication:
RULE ^/home/mike/test
RETRY 5
TIMEOUT 300
IGNORE \.Xauthority
OPENW rsync --rsh=ssh -a _FILE_ faustus:/mirrors/otto_FILE_
MKDIR rsync --rsh=ssh -a _FILE_ faustus:/mirrors/otto_FILE_
SYMLINK rsync --rsh=ssh -a _NEW_FILE_ faustus:/mirrors/otto_NEW_FILE_
UNLINK ssh faustus rm -f /mirrors/otto_FILE_
RMDIR ssh faustus rmdir /mirrors/otto_FILE_
RENAME ssh faustus "rm /mirrors/otto/_OLD_FILE_"; rsync --rsh=ssh -a
_NEW_FILE_ faustus:/mirrors/otto/_NEW_FILE_