[PATCH] Option --notree for find

OSiUX xuiso at osiux.com
Sun Sep 10 18:38:32 CEST 2017


Hi everybody! This is my first patch por pass.

Actual find:

 # pass find foo
 Search Terms: foo
 ├── bar
 │   └── foo
 ├── bar-foo
 ├── foo
 │   └── bar
 └── foo-bar

 # pass find bar
 Search Terms: bar
 ├── bar
 │   └── foo
 ├── bar-foo
 ├── foo
 │   └── bar
 └── foo-bar

Adding -n or --notree:

 # pass find foo -n
 Search Terms: foo
 bar-foo
 bar/foo
 foo-bar
 foo/bar

 # pass find bar -notree
 Search Terms: bar
 bar-foo
 bar/foo
 foo-bar
 foo/bar

Quick help:

 # pass find
 Usage: pass find [--notree,-n] pass-names...

I hope it will be useful for other users.

--

::

Osiris Alejandro Gomez (OSiUX) osiux at osiux.com
DC4495D2 0D5DD544  FC1AF00F  B308A671 9237D36C
https://www.osiux.com/ https://www.gcoop.coop/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pass-find-notree-option.patch
Type: text/x-diff
Size: 1491 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20170910/80eee53b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20170910/80eee53b/attachment.asc>


More information about the Password-Store mailing list