public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Simon <turner25@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] File synchronisation utility (searching for/about  to program it)
Date: Sat, 25 Jul 2009 13:10:41 -0400	[thread overview]
Message-ID: <5f14cf5e0907251010h51b7b538o79951d74b7470c5d@mail.gmail.com> (raw)
In-Reply-To: <7bef1f890907241943k7c6a6fckb79a90816cae280f@mail.gmail.com>

> I'm the last you would want to give advice about this question, but even
> though I am not a programmer, I have been using git to sync on three
> different systems.  I am using a flash drive as a cache, so to speak.  I
> followed some tips from the Emacs org-mode mailing list to get this going.
> It wasn't simple for me to recover when some files got out of sync on one of
> the machines, but it was simple enough that even I could figure it out.  I
> used a bare repo on the flash drive and push from each machine to this, a
> very simple procedure that can be automated through cron, and pull to each
> machine also from the bare repository.  I am not syncing a programming
> project, but my various work.

Your reply is more than welcome!

I have tried using git in the past and found that it doesnt work in my
'space constrained' scenario.  The need for a repository is a problem.
 The use of the usbkey however is nice since it allows git to work
without having each computer maintain its own repository... but
still... i dont currently have a usbkey that's large enough to hold
all my data, even if i could compress it i doubt it would fit.

Another thing is, i wonder if it retains the attributes of the file
(creation date, mod date, owner/group, permissions)?  As this can be
important on some aspects of my synchronisation needs.

Still, git is a very good solution that works incrementally in a
differential manner (makes patches from previous versions).  But when
i tried it, i found to suit my needs it would require the programming
of a big wrapper that would interface git to make some daily quick
actions simpler than a few git commands.

> Again, I am the least clueful you will find on this list, but if you wish
> for me to tell you the steps I followed, that is possible.  One of the
> mailing list threads that got me up to speed relatively quickly was at this
> link.  (Hope it's ok to link another mailing list from this one.)
>
> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg11647.html

I'll check it out... since i have my own solution all thought of and
designed, i'll be able to compare it and re-evaluate git from a new
angle.  As far as i can tell, there is no rule against links, but i
think there might be against publicity (ie if the link was to your
business product that fullfills my need).

> I apologize if the existence of a bare repo as an intermediary is a problem.
> This can be done on a server as well.

It is...  it makes all my computer dependant on that repo...  sync'ing
computers at home can be done alright, but will still require walking
around pluging/unpluging.  Makes this practically impossible to do
over the network (or to sync my host on the internet, not all my pc
are connected to the internet so the repo cant be just on the server,
i would have to maintain several repositories to work this out...).
It may be possible to adapt it to my scenario, but i think it will
require a lot of design in advance...  but i'll check it out...  at
worst it will convince me i should program my own, better it will give
me some good ideas or fortify some of my own good ideas and at best it
will be the thing i've been looking for!

Thanks again!

  Simon



  parent reply	other threads:[~2009-07-25 17:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-22 15:09 [gentoo-user] File synchronisation utility (searching for/about to program it) Simon
2009-07-25  2:43 ` Alan E. Davis
2009-07-25 14:56   ` [gentoo-user] " walt
2009-07-25 17:16     ` Simon
2009-07-26  8:15     ` Alan McKinnon
2009-07-25 17:10   ` Simon [this message]
2009-08-01 12:50     ` [gentoo-user] " Mike Kazantsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5f14cf5e0907251010h51b7b538o79951d74b7470c5d@mail.gmail.com \
    --to=turner25@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox