🍎 📂 #️⃣ macOS Finder tags. github.com/jdberry/tag python implementation
Find a file
2020-12-04 00:08:40 +03:00
.github/workflows 2020:06:30 21:27 2020-06-30 21:27:41 +03:00
mac_tag 2020:06:30 21:27 2020-06-30 21:27:41 +03:00
tests/mac-tag/examples 2020:03:25 16:18 2020-03-25 16:18:51 +03:00
README.md 2020:12:04 00:08 2020-12-04 00:08:40 +03:00
requirements.txt 2020:06:30 21:27 2020-06-30 21:27:41 +03:00
setup.py 2020:12:04 00:08 2020-12-04 00:08:40 +03:00
UNLICENSE 2020:03:25 16:27 2020-03-25 16:27:27 +03:00

Installation

$ [sudo] pip install mac-tag

Requirements

$ brew install tag

Examples

>>> 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"])

readme42.com