Video Screencast Help

Howto not store directory information when creating an SDA with PGP CL

Created: 27 Aug 2012 • Updated: 29 Aug 2012 | 3 comments
This issue has been solved. See solution.

LS,

I am using PGP commandline to create a SDA of a directory. When the receiver opens it, it restores the parent folder structure of the directory I am creating a SDA of.

Is it possible to not store this information in the SDA?

Regards,

René

Comments 3 CommentsJump to latest comment

dfinkelstein's picture

Yes, use the "--root-path" option.  From the PGP Command Line manual page:

 

--root-path

Specifies a root path (directory path information) when creating SDAs and archives. The root path will be removed from any input files added to SDAs and archives. The default is unset.

If the files root/path/dir/file and root/path/dir/file2 are added with root path set to "root/path", you will get these files in the archive: dir/file and dir/file2.

 

--------

David Finkelstein

Symantec R&D

SOLUTION
ReneBik's picture

Thanks David,

That did the trick, I just didn't find it in the guide before.

Regards,

René

dfinkelstein's picture

You're welcome, René.  The guide could be better organized to help you find this information.  Hopefully I can get a project going to improve it.

Regards,

--------

David Finkelstein

Symantec R&D