git-annex-rmurl(1)

πŸ“¦
version 10.20261026 Β· 3 versions
, in alpine 3.24, arch rolling, debian trixie, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ git-annex-rmurl β€” bestie edition ✨

okay so this is a page from the General Commands Manual, and it's all about git-annex-rmurl. let's get into it πŸ’…


🌸 NAME 🌸

git-annex-rmurl β€” record file is not available at url


πŸŽ€ SYNOPSIS πŸŽ€

git annex rmurl [file url ..]

πŸ¦‹ DESCRIPTION πŸ¦‹

So like. You're recording that the file is no longer available at the url. That's the whole vibe. πŸ“

Here's the tea tho β€” if you remove the last web url, git-annex will no longer treat the content as being present in the web special remote. gone. not present. periodt.

BUT. important plot twist: if some other special remote claims that url, then unregistering the url will not update presence information for it. why? because the content may still actually be present on that remote. git-annex is not gonna lie to you about that. so it just... doesn't touch it. 🫢


πŸ’– OPTIONS πŸ’–

  • --batch β€” turns on batch mode, where lines get read from stdin. each line should have the file, and then the url to remove from that file, separated by a single space. that's it, that's the format. πŸ“
  • -z β€” makes the --batch input be delimited by nulls instead of the usual newlines. for when your filenames are being messy and newline-free. iconic behaviour honestly.
  • --json β€” enables JSON output. this is intended to be parsed by programs that use git-annex, so like, it's for the robots πŸ€–. 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. everything in one place, no stray stderr, very tidy ✨

Also the git-annex-common-options(1) can be used. don't forget about those, they're the shared ones, they apply here too πŸ’œ


🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Joey Hess <id@joeyh.name>


and that's the whole page, bestie 🧚 this was page git-annex-rmurl(1) from the git-annex manual β€” go off and unregister those urls responsibly πŸ’–πŸŒΈπŸ’