Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


GPG2 Decrypting multiple files and redirect output files to a destination folder


GPG2 Decrypting multiple files and redirect output files to a destination folder

Author
Message
Jay Byoun
Jay Byoun
Grasshopper
Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)

Group: General Forum Members
Points: 12 Visits: 162
I'm trying to decrypt multiple files using GPG2.EXE via XP_CMDSHELL and to redirect output files to a destination folder using "--output" option, but it fails with "unknow suffix" error..

It looks like --output option only handles file, not folder..

Anyone had the same issue and have solution for it?

Here's my command..
"C:\Program Files (x86)\GNU\GnuPG\gpg2.exe" --decrypt-files --batch --yes --verbose D:\temp\pgp1\XYZ*.pgp --output D:\temp\pgp2\

Thanks
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search