git-annex-fromkey(1) | General Commands Manual | git-annex-fromkey(1) |
git-annex-fromkey - adds a file using a specific key
git annex fromkey [key file ...]
This plumbing-level command can be used to manually set up a file in the git repository to link to a specified key.
Multiple pairs of file and key can be given in a single command line.
If no key and file 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. Note that this does not register the url as a location of the key; use git-annex-registerurl(1) to do that.
Joey Hess <id@joeyh.name>