Created
September 5, 2017 06:17
-
-
Save julesjans/9ecad1ac89db368d88ac4c20ce3851d3 to your computer and use it in GitHub Desktop.
Shell script to change the tag/colour of item in Finder with AppleScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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