m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-04-17 23:04:59 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-04-17 23:04:59 +0200
commit586f6bd1eb32766168645d0582839dbf36e7f205 (patch)
tree12e3e9b6913416c804c079071408474d3f5b1df8 /man
parent2ba85daddf46422aa510a8c03ff75ba59761c190 (diff)
move/copy: always reencrypt passwords at destination
Diffstat (limited to 'man')
-rw-r--r--man/pass.110
1 files changed, 9 insertions, 1 deletions
diff --git a/man/pass.1 b/man/pass.1
index 3039143..561fd86 100644
--- a/man/pass.1
+++ b/man/pass.1
@@ -130,7 +130,15 @@ or \fI-f\fP is specified, do not interactively prompt before removal.
Renames the password or directory named \fIold-path\fP to \fInew-path\fP. This
command is alternatively named \fBrename\fP. If \fI--force\fP is specified,
silently overwrite \fInew-path\fP if it exists. If \fInew-path\fP ends in a
-trailing \fI/\fP, it is always treated as a directory.
+trailing \fI/\fP, it is always treated as a directory. Passwords will be reencrypted
+to the corresponding keys of their new destination.
+.TP
+\fBcp\fP [ \fI--force\fP, \fI-f\fP ] \fIold-path\fP \fInew-path\fP
+Copies the password or directory named \fIold-path\fP to \fInew-path\fP. This
+command is alternatively named \fBcopy\fP. If \fI--force\fP is specified,
+silently overwrite \fInew-path\fP if it exists. If \fInew-path\fP ends in a
+trailing \fI/\fP, it is always treated as a directory. Passwords will be reencrypted
+to the corresponding keys of their new destination.
.TP
\fBgit\fP \fIgit-command-args\fP...
If the password store is a git repository, pass \fIgit-command-args\fP as arguments to