Encrypting SubFolders

David T Kerns david.t.kerns at us.hsbc.com
Wed Mar 9 21:13:55 CET 2005

I'm new to gpg so not sure if gpg has a recursion flag, but on unix:

gpg --encrypt --multifile `find /thisfolder -type f -print`

should work.

                         Atom Smasher                                                                                                 
                         <atom at smasher.org>     To:    gnupg-users at gnupg.org                                                          
                         Sent by:               cc:                                                                                   
                         gnupg-users-bounces at g  Subject: Re: Encrypting SubFolders                                                    
                         03/09/2005 02:06 PM                                                                                          

On Tue, 8 Mar 2005, jediknight2 wrote:

> Is there a way to encrypt a folder including subfolders?
> I have tried
> gpg --encrypt --multifile \thisfolder\*.*
> The first one will hit all the subfolders inside thisfolder, but if those
> subfolders have folders then it wont go...
> so it will try thisfolder\subfolder
> but it wont catch thisfolder\subfolder\subsubfolder
> Any suggestions

windows or *nix?


  PGP key - http://atom.smasher.org/pgp.txt
  762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808

             "Somebody has to take governments' place, and business
              seems to me to be a logical entity to do it."
                         -- David Rockefeller
                         Newsweek International, Feb 1 1999.

Gnupg-users mailing list
Gnupg-users at gnupg.org

This E-mail is confidential. It may also be legally privileged. If you
are not the addressee you may not copy, forward, disclose or use any   part
of it. If you have received this message in error, please delete   it and
all copies from your system and notify the sender immediately   by return
E-mail.     Internet communications cannot be guaranteed to be timely,
secure,   error or virus-free. The sender does not accept liability for any
errors or omissions.

More information about the Gnupg-users mailing list