$ [sudo] pip install mac-tag
$ brew install tag
>>> mac_tag.update(["Red","Blue"],["path1","path2"])
>>> mac_tag.add(["Green"],["path1","path2"])
>>> mac_tag.get(["path1"])
{'path1': ['Blue', 'Red', 'Green']}
>>> mac_tag.remove(["Red"],["path1","path2"])
>>> mac_tag.remove(["*"],["path1","path2"])