Created
December 1, 2013 08:29
-
-
Save samhunta/7729862 to your computer and use it in GitHub Desktop.
This file contains 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
set -e | |
# Run our new web 2.0 todo list application and raise millions of VC dollars. | |
touch ~/Desktop/"$*" | |
osascript -e "tell application \"Finder\" to set label index of alias POSIX file \"`cd -P -- "$(dirname -- "/Users/samuelhunter/Desktop/$*")" && printf '%s\n' "$(pwd -P)/$(basename -- "~/Desktop/$*")"`\" to 3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment