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

Re: A system administration use case for git

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Apr 22, 2009, 08:48 UTC
Message-ID
<46a038f90904220148i23f1a75n7036d9726870d5f5@mail.gmail.com>
In-Reply-To
<2cfc40320904220133l5ab567f3q46608793b93f0e1f@mail.gmail.com>
On Wed, Apr 22, 2009 at 10:33 AM, Jon Seymour <jon.seymour@gmail.com> wrote:
Show 9 quoted lines
> Hello all, it's been quite a while.
> It'd be nice to do this on arbitrary (non-git-controlled) file system tree:
>
> * calculate the git hashes of the tree (without making copies of the
> files in the tree)
> * archive the tree hashes
> * rsync the tree hashes to another place
> * work out which files aren't available in the other place's git repo
> * rsync those files the the other place
Steps:

1 - rsync to the "other place" 2 - use the git repo in that "other place" 3 - if the tree hashes are needed "here", copy them from the "other place" git to here.

rsync + git = awesomenesssssss
-- 
 martin.langhoff@gmail.com
 martin@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
Previous: Jon SeymourNext: Uwe Kleine-König
Message 2 of 8 in “A system administration use case for git”
  1. Jon SeymourApr 22, 2009
  2. Martin LanghoffApr 22, 2009
  3. Uwe Kleine-KönigApr 23, 2009
  4. Johannes SixtApr 23, 2009
  5. Uwe Kleine-KönigApr 23, 2009
  6. Jon SeymourApr 22, 2009
  7. Martin LanghoffApr 22, 2009
  8. Jon SeymourApr 22, 2009

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.