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

Allan Odgaard lists+pass at simplit.com
Tue Sep 23 12:14:18 CEST 2014


On 23 Sep 2014, at 11:43, Hugo Osvaldo Barrera wrote:

> […] I feel that using find(1) insted would yield results which are 
> more consistent
> with the arguments that pass(1) can receive:
>
>  $ cd $HOME/.password-store
>  $ find * -iname "*wine*" | sed 's/\.gpg$//'
>
> […] Any opinions on this?

I think I would like this as well (and definitely supress the “Search 
Terms” line), but the find invocation should probably be:

     find * -ipath "*wine*" -type f | sed 's/\.gpg$//'

That way, we can also search for groups (to see all items in that 
group).


More information about the Password-Store mailing list