annex-to-annex(1p)

annex-to-annex1p

Use hardlinks to migrate files between git annex repos

Usage

annex-to-annex [--commit] source ... destination

Version

version 0.008

Overview

This script moves files and directories from one or more git annexes into a destination git annex, where possible using hardlinks instead of copying files.

It is useful for splitting and consolidating git annexes. For example, at the end of the semester I use this script to move files from my work annex, which gets synced to a lot of places, into an archival annex, which doesn't.

Each source should be a file or directory in a git annex. destination should be a subdirectory of a git annex.

Options

--commit

Commit changes in the source and destination annexes. Otherwise changes are merely added to the index.

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Author

Sean Whitton <[email protected]>

From libgit-annex-perl 0.008-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.