Skip to content

Instantly share code, notes, and snippets.

@vanntastic
Created May 20, 2010 18:28
Show Gist options
  • Save vanntastic/407904 to your computer and use it in GitHub Desktop.
Save vanntastic/407904 to your computer and use it in GitHub Desktop.
#!/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