Sharing OS X Screen Captures to iOS devices with iCloud
I use screen capture. A lot. I use it to capture reminders. I use it to capture technical information that I might need later. I use it to capture images of bills I have paid online… You get the idea. On more than one occasion, I’ve wanted to review an image I captured when I was away from my computer. What a pain. So I got thinking about how I could use iCloud document sharing to synchronize the images between devices. The image files aren’t particularly large. I use Dropbox for just about everything, so the 5GB of free Apple storage is more than enough. I’m not terribly worried if Apple changes something with .mac, (I mean .me, I mean iCloud) and deletes all my shit… While I love their (older) computers, their cloud “services” seem to be getting worse and worse in the post Jobs era.
Back on topic, the process to accomplish this was fairly easy, but did require 3rd party software.
I first attempted to save the screen shots directly to the iCloud Documents folder (technically a folder called ‘screenshots’ that I had created there), but no dice. So I figured I’d just have the screen captures saved in the ‘screenshots’ folder I created in the Pictures folder. Then use something monit to watch the folder and call a shell script when it sees new files added.
So I got about 5 minutes into that and then remember that I had a copy of Hazel. Mashing buttons in the shell demonstrates computer ninja skills. But if you just want to get shit done in a hurry (or you don’t know shit), nothing better than a solid GUI to serve up that command line power.
You can see the path info in the picture. But just in case you’ve got those “progressive bifocals” it looks like this:
/<volume_name>/Users/<user_name>/Mobile\ Documents/iCloud\ Drive/Screenshots
NOTE: I added screenshots to keep the root folder clean.
I know, a GUI solution is totally cheating. You could do it for free with monit…. Whatevs… Here’s what it looks like on the phone: