m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
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
parent7efccbc1c2bed9ad94102c5a962054e6b87b5390 (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')
-rw-r--r--man/pass.124
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.
.TP
+\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.
+.TP
\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
.br
Alternatively, "\fBpass ls\fP".
.TP
+Find existing passwords in store that match .com
+.B zx2c4@laptop ~ $ pass find .com
+.br
+Search Terms: .com
+.br
+\[u251C]\[u2500]\[u2500] Business
+.br
+\[u2502] \[u251C]\[u2500]\[u2500] some-silly-business-site.com
+.br
+\[u2514]\[u2500]\[u2500] Email
+.br
+ \[u251C]\[u2500]\[u2500] donenfeld.com
+.br
+ \[u2514]\[u2500]\[u2500] zx2c4.com
+.br
+
+.br
+Alternatively, "\fBpass search .com\fP".
+.TP
Show existing password
.B zx2c4@laptop ~ $ pass Email/zx2c4.com
.br