Finding all files encrypted with a certain key

Felix E. Klee felix.klee at inka.de
Wed Oct 25 05:00:36 CEST 2023


On Wed, Oct 25, 2023 at 10:08 AM raf via Gnupg-users
<gnupg-users at gnupg.org> wrote:
> > How do I do that for a massive directory tree?
>
> With my rawhide (rh) program (github.com/raforg/rawhide) you can do it
> with something like this:
>
>  rh /path '"*.gpg" && "*PGP*encrypted*BEF6EFD3 8FE8DCA0*".what'

Very interesting, may look into that. But first working with Werner’s
solution.

> Also, in case you need to re-encrypt regularly, I recommend assigning
> some label to the key and putting it in the filename (e.g.
> blah.gpg.key23).

I may do that.



More information about the Gnupg-users mailing list