ANNEX-...EINJECT(1p)

πŸ“¦
version 0.008 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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 πŸ’œ

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