Created
May 20, 2010 18:28
-
-
Save vanntastic/407904 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
#!/bin/bash | |
if [[ -n "$1" ]]; then | |
cd /Applications/CrashPlan.app/Contents/Resources/Java/conf/ | |
echo "Linking remote settings, open Crashplan once you are logged in."; | |
ln -nfs ui.remote.properties ui.properties; | |
ssh $1; | |
echo "Linking local settings, Crashplan is back at local settings."; | |
ln -nfs ui.local.properties ui.properties; | |
cd ~; | |
else | |
echo "USAGE: cp_remote_for [hostname]" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment