質問

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
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top