
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Run rsync based on time difference between local file and server file
- Date: Fri, 11 Nov 2011 08:35:14 +0100
- From: Christian Horn <chorn@example.com>
- Subject: Re: [tlug] Run rsync based on time difference between local file and server file
- References: <4EBCE24E.3070906@example.com>
- User-agent: Mutt/1.5.20 (2009-06-14)
On Fri, Nov 11, 2011 at 05:52:30PM +0900, Charles Muller wrote:
>
> I was thinking that I might be able to automate this by having a script
> that compares the time stamps of a designated file on the server with a
> designated local file, and then depending on if there is a difference,
> and if so, which way, the appropriate rsync routine would start up.
So you want to
- capture timestamps of files/directories on both sides
- carry that info to the remote side
- use it to see what needs to be transferred
That is the default mode rsync operated with, I think. A different one
uses checksums.
> Does this make sense? Or is there a simpler way to do it?
Using rsync directly does the same from what I see.
What of the rsync behaviour do you want to improve?
Christian
Home |
Main Index |
Thread Index