[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    Re: GPG Output Files
From:       Werner Koch <wk () gnupg ! org>
Date:       2007-11-22 9:20:27
Message-ID: 873auy63hg.fsf () wheatstone ! g10code ! de
[Download RAW message or body]

On Wed, 21 Nov 2007 18:52, matthew.loring@nsg-inc.org said:
> I am using the binary version of GPG for Windows, version 1.47.  
> Everything works fine, but I have a need to automatically decrypt  
> files through a script. The hangup that I have right now is that I  
> need to decrypt multiple files and send the output to a file and NOT  
> <STDOUT>. I know I can use the --output <filename> command, but I  
> don't want to specify a static file for this script because there are  
> multiple files. I would also like to just retain the original filename  

You may want to use the option:

  --multifile 

            This modifies certain other commands to accept multiple
            files for processing on the command line or read from stdin
            with each filename on a separate line.  This allows for many
            files to be processed at once.  --multifile may currently be
            used along with --verify, --encrypt, and --decrypt.  Note
            that `--multifile --verify' may not be used with detached
            signatures.

You might need to compine it with --yes and --batch so that existing
files are overwritten.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic