I was really excited when Apple announced to add tag support to Finder with OS X 10.9 Mavericks. But after installing the OS update and playing with the new tag feature, I was a bit disappointed on how the feature was implemented. There was neither a command line utility to manage tags nor was there a way to do this with AppleScript. - At least, I did not find a proper solution. So, to add/remove tags to/from a file or folder one had to open the info dialog ⌘+I and modify the tags in the new input field at the top.

OS X 10.9 file info dialogOS X 10.9 file info dialog

This seemed like an inconvenient way to tag my files. Fortunately, Brett Terpstra discovered an easier way to handle tags involving a shortcut to the Finder tags dialog.

Then James Berry created a small command line utility to do all the tag magic in Terminal. I really do not understand that Apple did not include something similar on their own.

As you may know, I do lots of my routine tasks on the Mac with Alfred and I also wanted to tag my files with it. Based on Jason Berry's tag cli, I created an Alfred 2 workflow to manage Mavericks tags with Alfred.


  • Show tags of a file or folder
  • Add/Remove tags of a file or folder
  • Search files and folders with a specific tag


Download from GitHub and import into Alfred 2.


File Action

The Mavericks Tags workflow is available as Alfred File Action:

Mavericks Tags File ActionMavericks Tags File Action


⌃⌥T - Show tags of selected file in Finder

Enter a tag name and select Add Tag to add it as new tag to the file/folder or select one of the existing tags and press ENTER to remove the selected tag from the file/folder.

Mavericks Tags WorkflowMavericks Tags Workflow


.tagged [tag name] - Search files/folder with tag

Search files/folders with tagSearch files/folders with tag


Credit for the included command line utility go to Jason Berry.

The icons are from the Retina icon pack by The Working Group.

blog comments powered by Disqus