git-annex-dropkey(1)
π git-annex-dropkey(1) π
okay bestie, welcome to the General Commands Manual corner of the git-annex universe β this is the page for git-annex-dropkey, and yes it's a whole vibe, but a dangerous one so pls read the warning, fr fr π«Ά
β¨ NAME β¨
git-annex-dropkey β drops annexed content for specified keys π
πΈ SYNOPSIS πΈ
git annex dropkey [key ...]
π¦ DESCRIPTION π¦
So here's the tea: this is a plumbing-level command, which is a fancy way of saying it's down in the pipes doing the raw work, no cute user-friendly wrapper, no hand-holding. It drops the annexed data for the keys you name, from this repository. gone. poof. π«§
And here's why that's lowkey iconic: you can use it to drop content for arbitrary keys, which means those keys do not need to have a file in the git repository pointing at them. No file, no pointer, no problem β the key itself is enough. main character energy tbh π
β οΈ Warning: This command does not check that enough other copies of the content exist. Using it can easily result in data loss. β οΈ
Not me being dramatic β that's literally what it says. It does not vibe check your backups first. It does not ask around. It just drops. So if that content only lived here... it's gone gone, no cap ππ
π OPTIONS π
--batchβ Enables batch mode, where the lines containing the keys to drop are read fromstdin. Yes bestie, you feed it keys line by line like a little conveyor belt of deletion. π--jsonβ Enable JSON output. This is intended to be parsed by programs that use git-annex. Each line of output is a JSON object. Machine-readable slay β¨--json-error-messagesβ Messages that would normally be output to standard error are included in the JSON instead. So your error gossip gets tucked into the JSON too, no stray stderr crumbs π
Also the git-annex-common-options(1) can be used. so many options, we love options π
π SEE ALSO π
π AUTHOR π
Joey Hess <id@joeyh.name> β the icon, the legend, the blueprint π
that's the whole page babes β git-annex-dropkey(1), straight from the General Commands Manual section, written by Joey Hess, and delivered to you with love and a healthy fear of data loss π§π 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