I didn't know about pass ls
But if you have too many files, won't you have the same problem with pass
show without argument?
With either one, you should pass a directory (either in list mode or tree
mode)

On Wed, Apr 3, 2019, 8:20 PM Tobias Girstmair <[email protected] wrote:

> I believe you can get rid of the tmp_file by using a subshell.
> (untested)
>
>
> +         find "$PREFIX" -follow -type d -iname "*${@}*" 2>/dev/null |
> while read f
> +         (
> +         do
> +           find "$f" -follow -type f -iname '*.gpg' 2>/dev/null
> +         done
> +         find "$PREFIX" -follow -type f -iname "*${@}*.gpg" 2>/dev/null
> +         ) |
> +         sort -u | sed 's/.gpg//g' | cut -c $c- && rm -f "$tmp_file"
> +       fi
>  }
> _______________________________________________
> Password-Store mailing list
> [email protected]
> https://lists.zx2c4.com/mailman/listinfo/password-store
>
_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to