Mailing List Archive
tlug.jp Mailing List tlug archive tlug 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 18:23:31 +0800
- From: Raymond Wan <rwan.kyoto@example.com>
- Subject: Re: [tlug] Run rsync based on time difference between local file and server file
- References: <4EBCE24E.3070906@example.com> <CAJA1Y2Z1syjYXrdWiRdei8UMh-MjU_eu1oSBXXVfBUYeN6nkig@example.com>
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20111004 Icedove/3.0.11
Hi Bruno, On 2011-11-11 17:49, Bruno Raoult wrote:I don't understand the question... Just run your usual rsync script, it should just work... Time is *not* localtime in Unix/Linux systems, but UTC... Therefore, if your machines are quite correctly time-synced, it will just work...... I am just wondering...Doesn't rsync work if you want to synchronize files from computer A to B? But it won't work between both A to B and B to A? I think what Chuck is asking is that you need to know whether to run rsync on computer A or on computer B.Also, I think in Chuck's case, he has a central computer and >1 other computers. So if synchronization is one-way, then you need to figure out where to run rsync. Of course, when you push files across, if the target has an extra file from an earlier synchronization, --delete will remove it. But I don't think rsync can sync in both directions.If it can, then I guess I have been running it wrong :-P because that is why I moved from rsync to unison [which, again, has rsync behind it].Ray
- Follow-Ups:
- References:
- [tlug] Run rsync based on time difference between local file and server file
- From: Charles Muller
- Re: [tlug] Run rsync based on time difference between local file and server file
- From: Bruno Raoult
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Run rsync based on time difference between local file and server file
- Next by Date: Re: [tlug] Run rsync based on time difference between local file and server file
- Previous by thread: Re: [tlug] Run rsync based on time difference between local file and server file
- Next by thread: Re: [tlug] Run rsync based on time difference between local file and server file
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links