Make GnuPG create files with .pgp extension

Tracy D. Bossong sithtracy at
Tue Oct 25 05:57:02 CEST 2005

Perhaps the best approach to this is a simple script.

gpg --encrypt --recipient %2 --output %1.pgp %1

You could expand on it.  Shouldn't be a problem for
any environment.

--- Ismael Valladolid Torres <ismaeval at> wrote:

> Most often, recipients of my encrypted files are
> users of legacy PGP
> versions. So I use to rename my .gpg files to .pgp
> so they can access
> them directly with their PGP shell extensions.
> Is there any way to make GnuPG to create files
> directly with the .pgp
> extension without specifying the complete expected
> file name using the
> -o option?
> Cordially, Ismael
> -- 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at

More information about the Gnupg-users mailing list