ANNEX-...EINJECT(1p)
π NAME π
okay so bestie, this is annex-to-annex-reinject β it uses git annex reinject to redo annex-to-annex β¨
πΈ VERSION πΈ
version 0.008 β she's giving vintage but make it cute π
π¦ SYNOPSIS π¦
annex-to-annex-reinject SOURCEANNEX DESTANNEX
like that's literally it, two little args and you're done π
β¨ DESCRIPTION β¨
so this is a lil wrapper around git annex reinject --known, and here's the tea: it gets invoked in DESTANNEX, and it runs on the files living in the git-annex objects dir of SOURCEANNEX β which is usually SOURCEANNEX/.git/annex/objects, iykyk π«Ά
and then, after it's done reinjecting all those files, the git-annex branch of SOURCEANNEX gets updated so it does not think the content is present there anymore. no cap. she said "you don't live here anymore bestie" ππ
okay now imagine this scenario because it's so real: say 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 the migrated files from your clone of ~/work to your clone of ~/old:
% annex-to-annex-reinject /media/spwhitton/usb/work /media/spwhitton/usb/old
obsessed. eat. periodt π
π OPTIONS π
None.
yep, zero. nothing. she's a low-maintenance icon and we respect that πβ
π SEE ALSO π
run don't walk, go read the whole fam π
π¦ AUTHOR π¦
Sean Whitton <spwhitton@spwhitton.name>
we stan π
π 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
and that's the whole vibe check bestie β this beauty's rendered by perl v5.40.1 and dated 2025-03-04 on the ANNEX-...EINJECT(1p) manual page πΈβ¨ muah, go reinject something π
π«Ά
π¦ where this page comes from
- debian trixie: libgit-annex-perl 0.008-2 Β· GPL-3.0-or-later
- ubuntu resolute: libgit-annex-perl 0.008-2 Β· GPL-3.0-or-later
- ubuntu stonking: libgit-annex-perl 0.008-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms