1git-annex-fromkey(1)        General Commands Manual       git-annex-fromkey(1)
2
3
4

NAME

6       git-annex-fromkey - adds a file using a specific key
7

SYNOPSIS

9       git annex fromkey [key file ...]
10

DESCRIPTION

12       This  plumbing-level  command  can be used to manually set up a file in
13       the git repository to link to a specified key.
14
15       Multiple pairs of file and key can be given in a single command line.
16
17       If no key and file pair are specified on the command line, batch  input
18       is used, the same as if the --batch option were specified.
19
20       Normally the key is a git-annex formatted key. However, to make it eas‐
21       ier to use this to add urls, if the key cannot be parsed as a key,  and
22       is  a valid url, an URL key is constructed from the url. Note that this
23       does not register the url as a location of the key; use  git-annex-reg‐
24       isterurl(1) to do that.
25

OPTIONS

27       --force
28
29              Allow  making  a  file link to a key whose content is not in the
30              local repository. The key may not be known to git-annex at all.
31
32       --batch
33              In batch input mode, lines are read from stdin,  and  each  line
34              should contain a key and filename, separated by a single space.
35
36       -z     When  in  batch mode, the input is delimited by nulls instead of
37              the usual newlines.
38
39              (Note that for this to be used, you have  to  explicitly  enable
40              batch mode with --batch)
41

SEE ALSO

43       git-annex(1)
44

AUTHOR

46       Joey Hess <id@joeyh.name>
47
48                                                          git-annex-fromkey(1)
Impressum