[TriLUG] gpg in batch - capturing output to a log file
kevin at flanagannc.net
Fri Feb 6 19:53:08 EST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Owen Berry wrote:
~ I'm using straight cmd.exe, I don't think that it's stderr, but I
suppose that it could be, that would go something like this then.
gpg -e -v -r joe.blow at company.com -o foo.pgp %1 2>&1 foo.log
I haven't had to capture STDERR before, first time for everything I
Thanks for the hint.
|Are you using gpg on cygwin or straight Windows DOS?
|Chance that the output is going to stderr?
|On Fri, Feb 06, 2004 at 07:29:21PM -0500, Kevin Flanagan wrote:
| I'm trying, on a Windows system, to do encryption of a file and
| logging the output to a log file, that will be used by the user, and
| later administrators or auditors to verify the process. Something
| like this.
| gpg -e -v -r joe.blow at company.com -o foo.pgp %1 > foo.log
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the TriLUG