git-annex-calckey(1) | General Commands Manual | git-annex-calckey(1) |
git-annex-calckey - calulate key for a file
git annex calckey [file ...]
This plumbing-level command calculates the key that would be used to refer to a file. The file is not added to the annex by this command. The key is output to stdout.
The backend used is the one from the annex.backend configuration setting, which can be overridden by the --backend option. For example, to force use of the SHA1 backend:
git annex calckey --backend=SHA1 file
Joey Hess <id@joeyh.name>