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.


Read More

Rename Screen Shots AppleScript

Working in a support role means I spend alot of time using the built in OS X screen capture facilities, which generally means I end up with hundreds of Screen Shot ****.png files scattered all over my desktop.

Today I started working on the AppleScript below, which I have set as a folder action on my default screen capture folder.

It’s far from complete, and is definitely a current project, however I thought I’d share it at each stage.

To change your default screen capture directory, launch terminal and run the following command

defaults write location /screencapturepath/;killall SystemUIServer

Would you do it differntly? Have an improvement to suggest? Drop me a note below.

Read More