Video Screencast Help

PGP Netshare Command Line

Created: 10 May 2013 • Updated: 10 May 2013 | 5 comments

Hello,

I am looking for a way via command line to encrypt only new files that have been added to an already encrypted share.

I was thinking the --reencrypt-delta switch would do the trick, but it seems to reencrypt everything

 

What options do I have to accomplish this?

Operating Systems:

Comments 5 CommentsJump to latest comment

Seth Dunn's picture

One other question.
Is there a way to assign roles (like Group Admin) via command line?

sven_frank's picture

Have you checked out the commandline guide for Netshare ?

 

--recipient-operator is what you are looking for:

Page 38ff shows all the diffrent options 

http://www.symantec.com/business/support/index?pag...

Regarding only encrypt "missing" files:

--verifiy with and added encrypt command might be usefull.

You are correct that --reencrypt-delta touches all files but it only changes the metadata (around 4kb per file at Max usually smaller).

----CMD Snip---

By default, --reencrypt-delta does not re-encrypt the already encrypted data; it re-encrypts the metadata. You can force it to re-encrypt the data using --reencrypt-full as an option. 

---CMD Snip---

 

 

 

If/when you consider your issue resolved, please click Mark As Solution on the most helpful response.

Seth Dunn's picture

Great, thanks for the info.

Do you know of a way in which I can use the --verify results to encrypt unencrypted files??

Is there a way to pipe it back into an encrypt command?
Or are there some VBScript objects I can use to perform this?

 

I am trying right now to automate this process using VBScript

Alex_CST's picture

some sort of IF statement with a goto would work

 

Please mark posts as solutions if they solve your problem!

http://www.cstl.com

Seth Dunn's picture

I think I managed to come up with something between VBScript and Command-Line script that will fit my needs.

 

Thanks