git-annex-oldkeys(1)
β¨ git-annex-oldkeys β¨
okay bestie, so this is the git-annex-oldkeys page from the General Commands Manual β yes, the whole manual-page vibe, but make it cute. let's get into it π
πΈ NAME πΈ
git-annex-oldkeys β list keys used for old versions of files
π¦ SYNOPSIS π¦
git annex oldkeys [path ...]
π DESCRIPTION π
So basically this command lists the keys used for old versions of whatever files or directories you point it at. that's the whole assignment. π
and here's the slay part: the output from this command can be piped into a command like git-annex drop --batch-keys π
The keys are listed in order from newest to oldest. so the freshest old version comes first, the ancient relics come last. iconic.
When you're listing old keys for a directory, it will also include keys used by deleted files that were in that directory in past commits. like, yeah, they're gone now, but the receipts remain πβ¨
π OPTIONS π
--uncheckedβ By default this command does not list a key that is also used by any file in the currently checked out branch. This option makes it also list such keys.
the default behavior avoids surprises when dropping listed keys (fr fr, you don't wanna drop something that's still in use). This option can be useful when, eg, copying all old versions of a file to a remote. π
--revision-range=valueβ Only list old keys used in the specified range of revisions. This works the same as the revision range option ofgit log. Seegitrevisions(7)for documentation about the format of this option.
For example, to list only keys used since the tag v1.0, use:
--revision-range=v1.0..HEAD
Also the git-annex-common-options(1) can be used. π«Ά
β SEE ALSO β
π AUTHOR π
Joey Hess <id@joeyh.name>
and that's the whole page, bestie. the header said it was the git-annex-oldkeys(1) page under General Commands Manual, and the footer was just git-annex-oldkeys(1) all over again β no version number, no date, just the name holding it down at the bottom like the main character it is. periodt. π
πβ¨
π¦ where this page comes from
- alpine 3.24: git-annex-doc 10.20261026-r0 Β· AGPL-3.0-or-later
- arch rolling: git-annex 10.20261026-2 Β· AGPL-3.0-only
- debian trixie: git-annex 10.20250416-2 Β· AGPL-3.0-or-later
- debian trixie: git-annex 10.20250416-2+deb13u1 Β· AGPL-3.0-or-later
- epel 10: git-annex 10.20250320-1.el10_0 Β· AGPL-3.0-or-later
- fedora 43: git-annex 10.20250630-4.fc43 Β· AGPL-3.0-or-later
- fedora 43: git-annex 10.20250929-5.fc43 Β· AGPL-3.0-or-later
- fedora 44: git-annex 10.20260115-1.fc44 Β· AGPL-3.0-or-later
- nixos 26.05: git-annex 10.20260421
- nixpkgs unstable: git-annex 10.20260421
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- ubuntu noble: git-annex 10.20240129-1build1 Β· AGPL-3.0-or-later
- ubuntu questing: git-annex 10.20250721-1
- ubuntu resolute: git-annex 10.20251029-1ubuntu1 Β· AGPL-3.0-or-later
- ubuntu stonking: git-annex 10.20251029-1ubuntu1 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms