rekey: Added --batch mode.
Would have liked to make the Parser parse the file and key pairs, but it seems that optparse-applicative is unable to handle eg: many ((,) <$> argument <*> argument) This commit was sponsored by Thomas Hochstein on Patreon.
This commit is contained in:
parent
e65c31e56b
commit
82d01f5619
4 changed files with 37 additions and 7 deletions
|
@ -20,6 +20,12 @@ Multiple pairs of file and key can be given in a single command line.
|
|||
Allow rekeying of even files whose content is not currently available.
|
||||
Use with caution.
|
||||
|
||||
* `--batch`
|
||||
|
||||
Enables batch mode, in which lines are read from stdin.
|
||||
Each line should contain the file, and the new key to use for that file,
|
||||
separated by a single space.
|
||||
|
||||
# SEE ALSO
|
||||
|
||||
[[git-annex]](1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue