Skip to content

Instantly share code, notes, and snippets.

@rafaltrojanowski
Created November 29, 2018 05:48
Show Gist options
  • Save rafaltrojanowski/0c377090cfa955abd1c8f7545a7acb7b to your computer and use it in GitHub Desktop.
Save rafaltrojanowski/0c377090cfa955abd1c8f7545a7acb7b to your computer and use it in GitHub Desktop.
# Source:
# https://macpaw.com/how-to/startup-disk-full-on-mac-os-x
#!/usr/bin/env bash
rm -rf ~/Library/Caches/*
rm -rf /Library/Caches/*
rm -rf ~/Music/iTunes/Previous\ iTunes\ Libraries/*
rm -rf ~/Library/Application\ Support/MobileSync/Backup/*
rm -rf ~/Library/iTunes/iPhone\ Software\ Updates/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment