gpg output to a filename ending with .pgp

MFPA expires2010 at ymail.com
Tue May 25 21:13:09 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi


On Tuesday 25 May 2010 at 3:03:30 PM, in
<mid:5ADDEDF9CC481344A370387FE2A0C62B8258FDE4 at nb-srv-mail-001.PIC.local>,
Jeremy Bennett wrote:


> I have been googling for an answer on how to have gpg
> encrypt a file to a file with a pgp extension.  It
> looks like maybe the only way is via a output redirect
> (> ?). I'm trying this via a command line on a windows
> box.  Here is my initial command in a batch file:

> c:\gnupg\gpg -e -r tester --yes %1

> I think I tried to use a --output or a -o switch but
> neither seemed to work. Has anyone tried this before?
> Could you paste your command here?

This worked for me:-

gpg -e -r mfpa -o test.txt.pgp  test.txt



- --
Best regards

MFPA                    mailto:expires2010 at ymail.com

Did you hear? They took the word gullible out of the dictionary
-----BEGIN PGP SIGNATURE-----

iQCVAwUBS/whTKipC46tDG5pAQqN9QQAjkS1mxAOYwBYnGdLd3nAFm1IpYAFssVI
5FEw9Vhh5zWeQ59INSqv5bNpEpM+ku0rFHmTIave3SFyGvg3a3DCIZSFlK7j5GfO
nTq9JdGUULeVHh8M4ouxGFwpdxLcYFC7znvOaSBy7wmI43Y4d78cdyW6zZmj/A+R
i8zMLoPABIM=
=dGp7
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list