Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1048975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:32:32+00:00 2026-05-16T16:32:32+00:00

I’m trying to set up two PCs to sync a folder tree so that

  • 0

I’m trying to set up two PCs to sync a folder tree so that each PC will have a copy of the tree with the most recent updates to each file.

I considered setting up Mercurial but realized I don’t really care about versioning (especially since I’m low on disk space), and that rsync sounds like it does more of what I want – just keeping files up to date, no versions.

However, the page at http://www.linuxjournal.com/content/synchronizing-your-life says the following:

With rsync, any files that already
exist at the destination will not be
transferred. This speeds up the
transfer time considerably. However,
there is still the problem of having
modifications made on both sides. By
default, the rsync program only looks
to see if the files are different in
size and timestamp. It doesn’t care
which file is newer, if it is
different, it gets overwritten.

You can pass the ‘–update’ flag to rsync
which will cause it to skip files on
the destination if they are newer than
the file on the source, but only so
long as they are the same type of
file. What this means is that if, for
example, the source file is a regular
file and the destination is a symlink,
the destination file will be
overwritten, regardless of timestamp.
Even looking past its quirks, the
–update flag does not solve the problem because all it does is skip
files on the destination if they are
newer, it doesn’t pull those changes
down to the source computer.

Is this correct?

If so, I guess it makes rsync really only useful for backing up one master (“source”) machine onto one or more slaves that will get the changes from the master regardless of timestamps. Whereas the problem I’m really trying to solve is having two machines be “peers” and equally just get the most recently updated files from the other.

Or do you think I’ll just have to bite the bullet and use git or Mercurial despite the extra disk space for tracking versions?

(Yes I know about Dropbox; I’m well above the 2GB free account limit and not really interested in spending $120-$240 a year when I don’t need the cloud storage and something this simple has to have been done before with free & open tools.)

The PCs are both running XP but I was going to use Cygwin’s rsync and any other Unixy tools necessary to get the job done.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T16:32:33+00:00Added an answer on May 16, 2026 at 4:32 pm

    After testing, I believe the answer to this is yes.

    As for why I didn’t just test this in the first place before asking, I’d misunderstood the way rsync worked and thought that you always needed to set up an rsync daemon on the server.

    However if you use ssh as the transfer mechanism then there doesn’t need to be an rsync daemon running on the server, just an ssh daemon, which is a lot more common.

    In my testing, a newer, changed file on my local machine was overwritten by the older file on the server (even though I had used the –update option).

    My conclusion is that rsync is better for master-slave copying/updating, rather than true bidirectional, peer-based synchronization.

    I will have to look into Mercurial or possibly Microsoft SyncToy (since both machines are running XP); I will probably go with the latter since it’s a simple home network.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need a function that will clean a strings' special characters. I do NOT
I'm trying to create an if statement in PHP that prevents a single post
I am trying to loop through a bunch of documents I have to put
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I am trying to understand how to use SyndicationItem to display feed which is
link Im having trouble converting the html entites into html characters, (&# 8217;) i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.