git-annex-unregisterurl(1)
π git-annex-unregisterurl π
okay bestie, welcome to the git-annex-unregisterurl manual page, straight out of the General Commands Manual β¨ this one's a plumbing-level icon and honestly she's so real for that π«Ά
π NAME π
git-annex-unregisterurl β unregisters an url for a key, no cap π
πΈ SYNOPSIS πΈ
git annex unregisterurl [key url]
π¦ DESCRIPTION π¦
okay so this is a plumbing-level command, and what she does is let you unregister urls when keys can no longer be downloaded from them π like when a link is dead and you're just done with it, periodt.
Normally the key is a git-annex formatted key, that's the standard vibe β¨. BUT here's the fun part β when the key cannot be parsed as a key, and is a valid url, a key is generated from the url π she's resourceful like that.
now the important lore bestie: unregistering a key's last web url will make git-annex no longer treat content as being present in the web special remote π«Ά that's real. And if some other special remote claims the url, unregistering the url will not update presence information for it, because the content may still be present on the remote π like she's not gonna lie to you about what's where.
β¨ OPTIONS β¨
--remote=name|uuidβ Indicate that the url is expected to be claimed by the specified remote π. If some other remote claims the url instead, unregistering it will fail π. Also huge note:--remote=webwill prevent any other remote from claiming the url, so that's the guardrail move π‘οΈ--batchβ In batch input mode, lines are read from stdin, and each line should contain a key and url, separated by a single space π (yes, a single space, be normal about it)-zβ When in batch mode, the input is delimited by nulls instead of the usual newlines π--jsonβ Enable JSON output. This is intended to be parsed by programs that use git-annex π». Each line of output is a JSON object β¨--json-error-messagesβ Messages that would normally be output to standard error are included in the JSON instead π so the errors get tucked into the JSON too
Also the git-annex-common-options(1) can be used, bestie, those are always in the group chat π«Ά
π SEE ALSO π
π AUTHOR π
Joey Hess <id@joeyh.name> β icon behavior, honestly π
and that's the whole page bestie!! this one came from git-annex-unregisterurl(1) in the General Commands Manual, dated with the rest of that doc set, and it was literally a whole vibe β go unregister some urls, slay π
β¨π¦πΈπ«Άπ
π¦ 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
- nixos 26.05: git-annex 10.20260421
- nixpkgs unstable: git-annex 10.20260421
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms