Skip to content

Instantly share code, notes, and snippets.

@jb55
Created February 26, 2014 23:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jb55/9241229 to your computer and use it in GitHub Desktop.
Save jb55/9241229 to your computer and use it in GitHub Desktop.
Recursively add Mavericks tags to a folder

1. Install jdberry/tag

brew install tag

2. Run this command

find ~/target_folder -name "*.txt" -exec tag -a tag1 tag2 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment