Created
April 9, 2017 21:59
-
-
Save Jonathan-Rosewood/e8cdf891c08e1e38e0ed322462f70d50 to your computer and use it in GitHub Desktop.
Hazel external application directory symlinker
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 | |
application="$1" | |
internal_applications_dir="/Applications" | |
external_applications_dir="/Volumes/Storage/Applications" | |
if [ ! -L "$internal_applications_dir/$application" ]; then | |
ln -s $external_applications_dir/$application $internal_applications_dir/ | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment