Skip to content

Instantly share code, notes, and snippets.

@omlid
Last active May 11, 2017 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omlid/95e81b510f806358ea12829d3418cecc to your computer and use it in GitHub Desktop.
Save omlid/95e81b510f806358ea12829d3418cecc to your computer and use it in GitHub Desktop.
Block CrashPlan from backing up your files via bash. It can soak up your bandwidth at times.
# run the following command in terminal:
# sudo bash stop_crashplan_backups.sh
while true
do
ID=$(ps aux | grep CrashPlan | grep -v grep | awk '{print $2}')
if [ -n "$ID" ]
then
kill "$ID"
echo "$ID killed"
sleep 5s
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment