git-annex/doc/git-annex-rekey.mdwn
Joey Hess 82d01f5619
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.
2016-12-05 12:55:50 -04:00

37 lines
741 B
Markdown

# NAME
git-annex rekey - change keys used for files
# SYNOPSIS
git annex rekey `[file key ...]`
# DESCRIPTION
This plumbing-level command is similar to migrate, but you specify
both the file, and the new key to use for it.
Multiple pairs of file and key can be given in a single command line.
# OPTIONS
* `--force`
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)
# AUTHOR
Joey Hess <id@joeyh.name>
Warning: Automatically converted into a man page by mdwn2man. Edit with care.