Skip to main content

MacOS Finder color tags

Project description


$ [sudo] pip install mac-colors


$ brew install tag


function __doc__
mac_colors.add(tags, path) add tags
mac_colors.get(path) return dictionary with path as key and tags as values
mac_colors.replace(tags, path) replace tags
mac_colors.rm(tags, path) remove tags

Executable modules

usage __doc__
python -m path ... set blue tag
python -m mac_colors.gray path ... set gray tag
python -m path ... set green tag
python -m mac_colors.grey path ... set gray tag
python -m mac_colors.none path ... remove all color tags
python -m path ... set orange tag
python -m mac_colors.purple path ... set purple tag
python -m path ... set red tag
python -m mac_colors.yellow path ... set yellow tag


>>> import mac_colors
>>> path = ["path/to/file"]


>>> mac_colors.get(path)

set multiple colors

>>> mac_colors.replace(["blue","red"],path)

remove colors

>>> mac_colors.none(path)



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mac-colors, version 2019.4.13
Filename, size & hash File type Python version Upload date
mac-colors-2019.4.13.tar.gz (2.6 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page