Skip to content

Instantly share code, notes, and snippets.

@julesjans
Created September 5, 2017 06:17
Shell script to change the tag/colour of item in Finder with AppleScript
#!/bin/bash
osascript -e "tell application \"Finder\" to set label index of alias POSIX file \"$1\" to 2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment