reinject: Added --guesskeys option
Sponsored-by: Noam Kremen on Patreon
This commit is contained in:
parent
19cac6fa14
commit
d98aa35b3b
3 changed files with 46 additions and 0 deletions
|
@ -54,6 +54,20 @@ needing to specify the dest file.
|
|||
Specify the key-value backend to use when checking if a file is known
|
||||
with the `--known` option.
|
||||
|
||||
* `--guesskeys`
|
||||
|
||||
With this option, each specified source file is checked to see if it
|
||||
has the name of a git-annex key, and if so it is imported as the content
|
||||
of that key.
|
||||
|
||||
This can be used to pluck git-annex objects out of `lost+found`,
|
||||
as long as the original filename has not been lost,
|
||||
and is particularly useful when using key-value backends that don't hash
|
||||
to the content of a file.
|
||||
|
||||
When the key-value backend does support hashing, the content of the file
|
||||
is verified before importing it.
|
||||
|
||||
* `--json`
|
||||
|
||||
Enable JSON output. This is intended to be parsed by programs that use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue