Skip to content

Instantly share code, notes, and snippets.

View omlid's full-sized avatar

Erik omlid

View GitHub Profile
@omlid
omlid / stop_crashplan_backups.sh
Last active May 11, 2017 15:39
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