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

  • 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

Viewing 0 posts

You must be logged in to reply to this topic. Login to reply