Encryption of multiple files into another directory

Josef Carnap carnap at gmx.at
Sat Mar 5 10:34:08 CET 2016

Hello everyone,

GnuPG 2.0.29
Linux and Windows

by using the command

gpg2 --recipient 0x12345678 --encrypt-files /media/usb/folder_1/*

I can encrypt with a public key all files in the directory folder_1.

How can I encrypt alle the files in this directory to another directory

This command
gpg2 --output /media/usb/folder_2/ --recipient 0x12345678
--encrypt-files /media/usb/folder_1/*

does not work unfortunately. -- Any hints?

Best regards


More information about the Gnupg-users mailing list