I tried to use the following command to redirect PGP output from command prompt:
pgp --decrypt fileA.pgp --passphrase 'pp123' --eyes-only > std.txt 2> err.txt
What I can get is:
std.txt:
NOTHING
err.txt:
fileA.pgp:decrypt (0:output file fileA.txt)
But this command cannot get the file content. how to do this?
Can you try this command:
pgp --decrypt fileA.pgp --passphrase 'pp123' --eyes-only --output std.txt --output-file err.txt