OpenPGP Encrypt Folder Action

Automate file encryption

On my MacBook I use the GPG Suite in order to keep my sensitive data secure, including data which I upload to the cloud. Encrypting files is something I do frequently, so I put together a small automator folder action to automatically encrypt files dropped into a specific folder.

For this to work, you’ll need the GPG Suite installed, with a private key setup. You’ll also need to adjust the ‘–recipient’ option in the bash code listed below.

Once the file has been encrypted it deletes the unencrypted copy, so be sure to keep your key safe.

 

Mike Hudson

Mike Hudson is a Infrastructure Analyst living and working in Kingston Upon Hull. With extensive experience in Microsoft and Apple technologies, ranging from desktop OS’s to Server OS’s and hardware. By day working as part of an infrastructure team, and by night ridding the world of IT issues through blog posts..

%d bloggers like this: