Last active
December 16, 2015 14:20
-
-
Save justjake/5448246 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env zsh | |
APP="/Applications/CrashPlan.app" | |
CONFIG="/Contents/Resources/Java/conf/ui.properties" | |
unlink-prop() { | |
rm "$APP/$CONFIG" | |
} | |
link-prop() { | |
ln -s "$APP/$CONFIG.$1" "$APP/$CONFIG" | |
} | |
if [ -z "$1" ] ; then | |
echo "Please supply a Crashplan host config" | |
exit 1 | |
fi | |
# set the config | |
unlink-prop | |
link-prop $1 | |
# launch the GUI | |
open $APP |
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
#Fri Dec 09 09:50:22 CST 2005 | |
#serviceHost=127.0.0.1 | |
#servicePort=4200 # 4243 is the default | |
#pollerPeriod=1000 # 1 second | |
#connectRetryDelay=10000 # 10 seconds | |
#connectRetryAttempts=3 | |
#showWelcome=true | |
#font.small= | |
#font.default= | |
#font.title= | |
#font.message.header= | |
#font.message.body= | |
#font.tab= |
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
#Fri Dec 09 09:50:22 CST 2005 | |
serviceHost=192.168.0.1 | |
#pollerPeriod=1000 # 1 second | |
#connectRetryDelay=10000 # 10 seconds | |
#connectRetryAttempts=3 | |
#showWelcome=true | |
#font.small= | |
#font.default= | |
#font.title= | |
#font.message.header= | |
#font.message.body= | |
#font.tab= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment