1git-annex-rekey(1) General Commands Manual git-annex-rekey(1)
2
3
4
6 git-annex-rekey - change keys used for files
7
9 git annex rekey [file key ...]
10
12 This plumbing-level command is similar to migrate, but you specify both
13 the file, and the new key to use for it.
14
15 Multiple pairs of file and key can be given in a single command line.
16
17 Note that, unlike git-annex migrate, this does not copy over metadata,
18 urls, and other such information from the old to the new key
19
21 --force
22
23 Allow rekeying of even files whose content is not currently
24 available. Use with caution.
25
26 --batch
27 Enables batch mode, in which lines are read from stdin. Each
28 line should contain the file, and the new key to use for that
29 file, separated by a single space.
30
31 -z Makes the --batch input be delimited by nulls instead of the
32 usual newlines.
33
34 Also the git-annex-common-options(1) can be used.
35
37 git-annex(1)
38
39 git-annex-migrate(1)
40
42 Joey Hess <id@joeyh.name>
43
44 git-annex-rekey(1)