From 7ed0a70aa6d1fd502ff5443bced462d6dedd8511 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 14 Apr 2014 14:59:07 +0200 Subject: 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 --- man/pass.1 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'man') 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 -- cgit v1.2.3