Neat. So you can associate a file with a tag by dragging it into the appropriate TAGS section of a sidebar. You can tag a file while you’re saving it. You can also Tags are kept in Extended Attributes. In com.apple.metadata:_kMDItemUserTags to be exact. xattr /Users/krypted/Desktop/Test.pdf The output of xattr with no options is as follows: com.apple.FinderInfo com.apple.metadata:_kMDItemUserTags com.apple.quarantine Or use -l to get a more detailed output: xattr -l /Users/krypted/Desktop/Test.pdf The output of which would include the tag: com.apple.FinderInfo: 00000000 00 00 00 00 00 00 00 00 00 1C 00 00 00 00 00 00 |................| 00000010 00 00 00 00 00 00 00 00 00 00 00…