Using OSX Mavericks new file tagging feature, using the cli tagging plugin here https://github.com/jdberry/tag allows for easy tagging based on file extension.