1git-annex-registerurl(1) General Commands Manual git-annex-registerurl(1)
2
3
4
6 git-annex-registerurl - registers an url for a key
7
9 git annex registerurl [key url]
10
12 This plumbing-level command can be used to register urls where a key
13 can be downloaded from.
14
15 No verification is performed of the url's contents.
16
17 Normally the key is a git-annex formatted key. However, to make it eas‐
18 ier to use this to add urls, if the key cannot be parsed as a key, and
19 is a valid url, an URL key is constructed from the url.
20
22 --batch
23
24 In batch input mode, lines are read from stdin, and each line
25 should contain a key and url, separated by a single space.
26
27 For backwards compatability with old git-annex before this op‐
28 tion was added, when no key and url pair are specified on the
29 command line, batch input is used, the same as if the --batch
30 option were specified. It is however recommended to use --batch.
31
32 -z When in batch mode, the input is delimited by nulls instead of
33 the usual newlines.
34
35 (Note that for this to be used, you have to explicitly enable
36 batch mode with --batch)
37
39 git-annex(1)
40
41 git-annex-addurl(1)
42
43 git-annex-unregisterurl(1)
44
46 Joey Hess <id@joeyh.name>
47
48 git-annex-registerurl(1)