Vidéos d'aide de Screencast
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

PGP Netshare Command Line

Created: 10 Mai 2013 • Updated: 10 Mai 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:

Commentaires CommentairesAccéder au dernier commentaire

l'image des Seth Dunn

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

l'image des sven_frank

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.

l'image des Seth Dunn

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

l'image des Alex_CST

some sort of IF statement with a goto would work

Please mark posts as solutions if they solve your problem!

http://www.cstl.com

l'image des Seth Dunn

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

Thanks