search for: lastsync

Displaying 2 results from an estimated 2 matches for "lastsync".

Did you mean: hostsync
2009 Jan 10
1
Implementing a conditional branch within rsync based on modified time of a file
...would still exist on the server. But if I use rsync --del, it would just delete any and all new files created on a client since the last sync. The best solution I can envision is to write a shell script (or modify the rsync source) which would alter step 1 above to the following: global variable lastSync; //last synchronization for this client function syncFile(file, modifiedDate){ if (modifiedDate > lastSync){ //this must be a new file created from another client. download the file from the server } else{ //the file has been deleted on the client since the last sync, delete...
2013 Nov 08
1
Rsync hanging, even with timeout and contimeout specified
...trs, iconv, symtimes, prealloc rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. $ strace -f rsync --contimeout=10 --timeout=10 rsync:// mirror.aarnet.edu.au/archlinux/lastsync /tmp/hanging-lastsync execve("/usr/bin/rsync", ["rsync", "--contimeout=10", "--timeout=10", "rsync://mirror.aarnet.edu.au/arc"..., "/tmp/hanging-lastsync"], [/* 25 vars */]) = 0 brk(0) = 0x1b83000 access("/etc/ld.so.preload&...