Re: Recursive encrypting

Holger Sesterhenn Holger.Sesterhenn@smgwtest.aachen.utimaco.de
Wed Aug 6 11:29:02 2003


This is an S/MIME signed message

------8D6B10327B207B93B329E6BCFEA68E8B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

> Can someone tell me how I can recursively encrypt files and directories
> Please email me

#!/bin/bash
tar cvzf archive.tgz /mydir/*
gpg -r recipient -e archive.tgz

#EOF

:-)

Best Regards,

Holger Sesterhenn

------8D6B10327B207B93B329E6BCFEA68E8B
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIIGiAYJKoZIhvcNAQcCoIIGeTCCBnUCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3
DQEHAaCCA9swggPXMIICv6ADAgECAgEWMA0GCSqGSIb3DQEBBQUAMIGTMQ8wDQYD
VQQHEwZBYWNoZW4xHTAbBgNVBAoTFFNlY3VyRS1NYWlsIEFsbGlhbmNlMRwwGgYD
VQQLExNVdGltYWNvIFNhZmV3YXJlIEFHMRwwGgYDVQQDExNTZWN1ckUtTWFpbCBH
YXRld2F5MSUwIwYJKoZIhvcNAQkBFhZpbmZvQGFhY2hlbi51dGltYWNvLmRlMB4X
DTAzMDgwNDAwMDAwMFoXDTA1MDgwMzAwMDAwMFowOzELMAkGA1UEBhMCZGUxEDAO
BgNVBAoTB3V0aW1hY28xGjAYBgNVBAMTEUhvbGdlciBTZXN0ZXJoZW5uMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs9V8KbT2ct3ctMn0mJfH1q7LNpTX
gVESRKUvhOYDOyZ5B6Ek5QidHwt/+bciw1ROE+kXkXCMpzTdwcMzVIK428TZGZR1
WslRP48ctvPIQVbMSIcjkTUKqgL4JgPo2YQf3bobmISBS863VcQnYq9SsOhezum4
RYmFox0K1TacdeKbFVqwY9OgZ8F9wP0+8Ahp0wcD08ETrDtbbCPlwBv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