De-annex directory managed by `git-annex`

102 views Asked by At

There is an open source dataset that, if cloned, provides git-annex-managed symlinks. If I unlock the directory, I see files whose content has been replaced with hashes. For example, instead of the contents I see when accessing settings.xml via browser, I see /annex/objects/MD5E-s208144--34d01773c20e00c210e1add9ccc1c87c.xml.

How do I fully de-annex this dataset? My goal is to get the original file organization so my other scripts can read the content. My shell has trouble following system links to perform a recursive copy.

1

There are 1 answers

0
Chris Broz On

After reviewing the documentation more thoroughly, I did the following...

  1. Install git-annex - link
  2. For relevant subdirectories, run git-annex get <subdir>/*
  3. For relevant subdirectories, run git-annex unlock <subdir>/*