git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git as backup and file sync system

From
SSimon <turner25@gmail.com>
Date
Apr 2, 2010, 19:16 UTC
Message-ID
<m2q5f14cf5e1004021216y60797d29j1f63092435998823@mail.gmail.com>
Hi there,
  I'm not sure if this post will be very welcome, but I'd like your
feedback or suggestions.  I've been reading Jon Loeliger's book about
git and I've understood many many things.  I'm interested in using git
as a backup and sync system between computers.

The one thing I'm missing is files metadata. I thought the simplest approach would be to create a "hidden" file containing the output from stat (or something similar but more helpful). Then hash that "hidden" file as well or even make it part of the real file (ie first line of every file are their metadata)... I think I should look into some hooks, but I'd need some guidance to get started... help appreciated!

Simon
Next: Sverre Rabbelier
Message 1 of 4 in “git as backup and file sync system”
  1. SimonApr 2, 2010
  2. Sverre RabbelierApr 2, 2010
  3. Avery PennarunApr 2, 2010
  4. SimonApr 2, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.