path: root/man
diff options
authorJason A. Donenfeld <Jason@zx2c4.com>2014-04-14 14:59:07 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-04-15 00:27:57 +0200
commit7ed0a70aa6d1fd502ff5443bced462d6dedd8511 (patch)
treeac45fb7a2479752b39c84a053bfbfdab420644a2 /man
parentInstall bash-completion file to the right place. (diff)
find: add find/search command
This relies on a patched version of tree to work, unfortunately. Hopefully upstream will accept our patch. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'man')
1 files changed, 24 insertions, 0 deletions
diff --git a/man/pass.1 b/man/pass.1
index 668206d..0035cdb 100644
--- a/man/pass.1
+++ b/man/pass.1
@@ -72,6 +72,11 @@ by using the
.BR tree (1)
program. This command is alternatively named \fBlist\fP.
+\fBfind\fP \fIpass-names\fP...
+List names of passwords inside the tree that match \fIpass-names\fP by using the
+.BR tree (1)
+program. This command is alternatively named \fBsearch\fP.
\fBshow\fP [ \fI--clip\fP, \fI-c\fP ] \fIpass-name\fP
Decrypt and print a password named \fIpass-name\fP. If \fI--clip\fP or \fI-c\fP
is specified, do not print the password but instead copy the first line to the
@@ -169,6 +174,25 @@ Password Store
Alternatively, "\fBpass ls\fP".
+Find existing passwords in store that match .com
+.B zx2c4@laptop ~ $ pass find .com
+Search Terms: .com
+\[u251C]\[u2500]\[u2500] Business
+\[u2502] \[u251C]\[u2500]\[u2500] some-silly-business-site.com
+\[u2514]\[u2500]\[u2500] Email
+ \[u251C]\[u2500]\[u2500] donenfeld.com
+ \[u2514]\[u2500]\[u2500] zx2c4.com
+Alternatively, "\fBpass search .com\fP".
Show existing password
.B zx2c4@laptop ~ $ pass Email/zx2c4.com