Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Need an error log when encrypting a file in command line

Created: 28 Oct 2011 • Updated: 03 Nov 2011 | 3 comments
This issue has been solved. See solution.

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!

Comments 3 CommentsJump to latest comment

dfinkelstein's picture

On Windows using cmd, try

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

--------

David Finkelstein

Symantec R&D

SOLUTION
dfinkelstein's picture

Great, glad to hear it.

--------

David Finkelstein

Symantec R&D