git-annex-registerurl man page

git-annex-registerurl ā€” registers an url for a key

Synopsis

git annex registerurl [key url]

Description

This plumbing-level command can be used to register urls where a key can be downloaded from.

No verification is performed of the url's contents.

If no key and url pair are specified on the command line, batch input is used, the same as if the --batch option were specified.

Normally the key is a git-annex formatted key. However, to make it easier to use this to add urls, 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.

(Note that for this to be used, you have to explicitly enable batch mode with --batch)

See Also

git-annex(1)

git-annex-addurl(1)

Author

Joey Hess <id@joeyh.name>

Referenced By

git-annex(1), git-annex-addurl(1), git-annex-fromkey(1).