Scroll to navigation

git-annex-rekey(1) General Commands Manual git-annex-rekey(1)

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.

Note that, unlike git-annex migrate, this does not copy over metadata, urls, and other such information from the old to the new key

OPTIONS

Allow rekeying of even files whose content is not currently available. Use with caution.
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.
Makes the --batch input be delimited by nulls instead of the usual newlines.
git-annex-common-options(1) can be used.

SEE ALSO

git-annex(1)

git-annex-migrate(1)

AUTHOR

Joey Hess <id@joeyh.name>