From d003501fab4d86e1bda38dca8c9e934752e132fc Mon Sep 17 00:00:00 2001 From: "emanuele.ruffaldi@56b9c9a5c1f873994b869248e9b53aa20f437d20" Date: Tue, 12 Jan 2016 00:32:31 +0000 Subject: [PATCH] --- ...Accessing_files_in_bare_remotes_without_git-annex.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/tips/Accessing_files_in_bare_remotes_without_git-annex.mdwn diff --git a/doc/tips/Accessing_files_in_bare_remotes_without_git-annex.mdwn b/doc/tips/Accessing_files_in_bare_remotes_without_git-annex.mdwn new file mode 100644 index 0000000000..c9af79cdfd --- /dev/null +++ b/doc/tips/Accessing_files_in_bare_remotes_without_git-annex.mdwn @@ -0,0 +1,8 @@ + +git-annex is amazing for my large files backup necessities, but I am a bit scared for the long-term possibility of accessing data, without git-annex. + +For this reason I have prepared a small Python tool that accesses the content of bare git-annex repositories. The tool retrieves the locations of a file, and the path to the file in the current annex. This works with the last v6 version of the git-annex format. + +This is motivated by the fact that in the master branch the files are stores as links to .git/annex/objects/XX/YY/KEY/KEY (as it is correct for non-bare repos), while in the bare the files are stored in annex/objecst/ZZ/WW/KEY/KEY. + +The source code is available here: