Man page - annex-to-annex-reinject(1)
Packages contains this manual
apt-get install libgit-annex-perl
Manual
ANNEX-TO-ANNEX-REINJECT
NAMEVERSION
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR
COPYRIGHT AND LICENSE
NAME
annex-to-annex-reinject - use โgit annex reinjectโ to redo annex-to-annex
VERSION
version 0.008
SYNOPSIS
annex-to-annex-reinject SOURCEANNEX DESTANNEX
DESCRIPTION
Wrapper around git annex reinject --known , invoked in DESTANNEX , on the files in the git-annex objects dir of the SOURCEANNEX (usually SOURCEANNEX /.git/annex/objects). After reinjecting files, the git-annex branch of SOURCEANNEX is updated so that it does not think the content is present there anymore.
Suppose that you use annex-to-annex (1) to migrate files from ห/work to ห/old on your laptop, where each of ห/work and ห/old are git annexes. Then on your USB backup drive, you can use this script to move the contents of migrated files from your clone of ห/work to your clone of ห/old:
% annex-to-annex-reinject /media/spwhitton/usb/work /media/spwhitton/usb/old
OPTIONS
None.
SEE ALSO
git-annex-reinject (1), annex-to-annex (1), annex-to-annex-dropunused (1)
AUTHOR
Sean Whitton <spwhitton@spwhitton.name>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2019-2021 by Sean Whitton <spwhitton@spwhitton.name>.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007