Endpoint Encryption

 View Only
Expand all | Collapse all

Need an error log when encrypting a file in command line

  • 1.  Need an error log when encrypting a file in command line

    Posted Oct 28, 2011 08:51 AM

    Good morning,

    I'm using PGP command line for encrypting a number of files.  One of these scheduled tasks continues to fail, and I'm trying to ascertain why.

    What I am looking for is verbose output of what command line does and any errors it encounters.

    The command I am using is "pgp --encrypt "x:\xyzdd.csv" -r "Unix Admin" -v "x:\xyzdd.log"  - all this does is writes an empty text file.

    Can anyone shed some light on how to get a log of results from a file encryption command?

     

    Many thanks for the help!



  • 2.  RE: Need an error log when encrypting a file in command line
    Best Answer

    Posted Oct 28, 2011 07:43 PM

    On Windows using cmd, try

    pgp --encrypt "x:\xyzdd.csv" -r "Unix Admin" --verbose --debug > "x:\xyzdd.log" 2>&1



  • 3.  RE: Need an error log when encrypting a file in command line

    Posted Nov 03, 2011 11:55 AM

    Thank you for the helpful info!



  • 4.  RE: Need an error log when encrypting a file in command line

    Posted Nov 03, 2011 01:23 PM

    Great, glad to hear it.