packages feed

git-annex-10.20220222: doc/git-annex-unregisterurl.mdwn

# NAME

git-annex unregisterurl - unregisters an url for a key

# SYNOPSIS

git annex unregisterurl `[key url]`

# DESCRIPTION

This plumbing-level command can be used to unregister urls when keys can
no longer be downloaded from them.

Unregistering a key's last web url will make git-annex no longer treat content
as being present in the web special remote.

Normally the key is a git-annex formatted key. However, if the key cannot be
parsed as a key, and is a valid url, an URL key is constructed from the url.

# OPTIONS

* `--batch`

  In batch input mode, lines are read from stdin, and each line
  should contain a key and url, separated by a single space.

* `-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.

* Also the [[git-annex-common-options]](1) can be used.

# SEE ALSO

[[git-annex]](1)

[[git-annex-registerurl]](1)

[[git-annex-rmurl]](1)

# AUTHOR

Joey Hess <id@joeyh.name>

Warning: Automatically converted into a man page by mdwn2man. Edit with care.