spm

simple password manager
git clone anongit@rnpnr.xyz:spm.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 45d400901a9a0d3a58ae46e1b7a5a83170f516cb
Parent: e58707720bb31282efaa8ad0e24b95fb583ef218
Author: Randy Palamar
Date:   Sun, 15 Jan 2023 20:33:50 -0700

remove dependency on non-standard tree(1)

if you really want it you can pipe the ouptut of `spm list` into it.

Diffstat:
MREADME.md | 2+-
Mspm | 3+--
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -1,7 +1,7 @@ # spm - simple password manager spm is a single fully POSIX shell compliant script utilizing gpg2(1) in -combination with basic tools such as find(1) and tree(1). +combination with basic tools such as find(1). Passwords are stored as [PGP](https://gnupg.org) encrypted files with directories funtioning as (sub)groups. diff --git a/spm b/spm @@ -81,8 +81,7 @@ add() { list() { [ -d "${STORE_DIR}"/"${1:-}" ] || usage 'no such group' - - tree ${gflag:+-d} -Fx -- "${STORE_DIR}"/"${1:-}" | view + find "${STORE_DIR}"/"${1:-}" | view } del() {