Created
October 19, 2014 21:54
-
-
Save alicraigmile/f8803feb3d0ad42ea26f to your computer and use it in GitHub Desktop.
Create a shortcut on the desktop to a file on the command line (MacOS X)
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
| shortcut on desktop | |
| desktop-shortcut() { | |
| osascript -e "tell application \"Finder\" to make new alias file at desktop to POSIX file \"$(myreadlink $1)\"" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment