[pass] Use find instead of tree to search for cmd_find

Serpent7776 serpent7776 at gmail.com
Thu Sep 25 22:58:05 CEST 2014


Hello,

Some time ago I've sent a patch that add switch -1 (number one, not letter ell)
to command ls that lists passwords one per line using find. I attach modified
version that also add switch -1 to search command. Unfortunately it only accept
one term when searching, so

pass search -1 foo

works, but

pass search -1 foo bar

will search only for foo
This could be fixed by using 

find -iregex

and I made it to work on FreeBSD with find -E, but GNU find does not understand
-E option

Anyway hope it will be useful.

-- 
//Serpent7776
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pass.patch
Type: text/x-patch
Size: 2995 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20140925/6fcb3507/attachment.bin>


More information about the Password-Store mailing list