1. Install jdberry/tag brew install tag 2. Run this command find ~/target_folder -name "*.txt" -exec tag -a tag1 tag2 {} \;