Create a Better Workflow To Capture/Organize Screenshots with Alfred for Mac
tl;dr:How to change your default location for screenshots and create a better workflow to retrieve them with Alfred.
If you find yourself taking copious amounts of screenshots on a Mac, you'll often find yourself with a desktop full of screenshot files. Not only that, but if you order your files by name and kind, you'll find that your most recent screenshots aren't always at the bottom of the list of files. Here's a workflow that has helped me using Alfred.
End Result: Type "SS " and get a quick list of your most recent screenshots
You can optionally continue to search by date. Hitting enter on any of these results will reveal it in Finder.
3 Step How-to
1. Create a new folder for your screenshots
First, create a folder on your mac where you'd like to store all of your screenshots. I've created a folder called "Screenshots" in the same directory as "Documents", "Music", Movies" etc folders.
2. Change the default location of where your screenshots get stored by entering the following commands in Terminal
Then open the Terminal app and enter in the text below and hit enter
defaults write com.apple.screencapture location ~/Screenshots/
I like to put a name to my screenshots. To do this replace "Rob Johnson" with your name and paste that command line into terminal and hit enter.
defaults write com.apple.screencapture name "Rob Johnson"
Now you just need to restart SystemUIServer to have the changes take effect.
3. Download and add the Screenshot Workflow for Alfred
I've adapted a workflow that was created by Vítor Galvão, that lists the most recent download files in the "Screenshot" directory in descending order. You can also search for a specific date if you need to. For example, if I wanted to search for screenshots I took on Feb 21, I would type "SS 2016-02-21".
End result: Quickly retrievable screenshots that don't clutter your desktop! Hopefully this will help a few folks. If you have any feedback, you can contact me @robkellas.