search for: syncfil

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

Did you mean: syncfile
2004 May 31
0
Auth problem when running a remote script over SSH
...etd to start the service). This is my home computer. A script on my computer at work (having an older rsync version 2.4.6, protocol 24) synces the files between the two computers. When I log on to this computer using ssh and execute the script everything is fine. So I do: ssh me@computer.work ./syncfiles (this is the script) The script contains the line: rsync -arvcu thesis/ home.computer::work/thesis However (here comes the funny part), when I try to call the script like this: ssh me@workcomputer './syncfiles' I get an auth failed error: 2004/05/30 20:23:23 [13009] auth failed on module...
2009 Jan 10
1
Implementing a conditional branch within rsync based on modified time of a file
..., 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 it. delete the file. } } I suppose I would first...