Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pgp -p -o options (windows)

Status
Not open for further replies.

eclecticNancy

Programmer
May 18, 2007
19
US
I'm receiving files from one location, decrypting and saving to a new location (via a script).

I have been using pgp -o to define the destination path + filename... but until now, I just had to strip the .pgp to arrive at the original filename. Now I'm getting files that do not follow this pattern, and need to restore the original filename.

Is there a way to use pgp -p <ciphertext_filename>
... while defining a new path for the plaintext file?

for example, I want to decrypt C:\filex.pgp - whose original plaintext name was x.txt - and place it at D:\x.txt


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top