summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-04-17 14:30:05 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-04-17 14:40:56 +0200
commit658fe0ac863a4d1c62b3c64d2ed9c92981274bd4 (patch)
treeb9a27d105afa122a13ac57f7bf15142843c502aa /man
parent1763e2d0347c38aa8f7167f6fcfd4401fd6995dc (diff)
downloadpass-658fe0ac863a4d1c62b3c64d2ed9c92981274bd4.tar.gz
pass-658fe0ac863a4d1c62b3c64d2ed9c92981274bd4.tar.bz2
pass-658fe0ac863a4d1c62b3c64d2ed9c92981274bd4.zip
mv: Add pass mv/rename support
Based-on-work-by: Matthieu Weber <mweber@free.fr> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'man')
-rw-r--r--man/pass.16
1 files changed, 6 insertions, 0 deletions
diff --git a/man/pass.1 b/man/pass.1
index 9890111..3039143 100644
--- a/man/pass.1
+++ b/man/pass.1
@@ -126,6 +126,12 @@ alternatively named \fBremove\fP or \fBdelete\fP. If \fI--recursive\fP or \fI-r\
is specified, delete pass-name recursively if it is a directory. If \fI--force\fP
or \fI-f\fP is specified, do not interactively prompt before removal.
.TP
+\fBmv\fP [ \fI--force\fP, \fI-f\fP ] \fIold-path\fP \fInew-path\fP
+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.
+.TP
\fBgit\fP \fIgit-command-args\fP...
If the password store is a git repository, pass \fIgit-command-args\fP as arguments to
.BR git (1)