Skip to content

Instantly share code, notes, and snippets.

@kgoedecke
Last active January 22, 2021 17:29
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 kgoedecke/e194ff10299d56008066a59d17c187f8 to your computer and use it in GitHub Desktop.
Save kgoedecke/e194ff10299d56008066a59d17c187f8 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Remove Docker images
rm -rf ~/Library/Containers/com.docker.docker
echo "Docker images removed"
# Docker prune
docker image prune
# Remove Spotify Cache
rm -rf ~/Library/Caches/com.spotify.client
echo "Spotify Cache removed"
# Clean brew
brew cleanup
echo "Homebrew cleanup done"
# Clean yarn Cache
yarn cache clean
echo "Yarn cache cleaned"
# Show Home Folder Dir Structure
du -k -sh ~/* | sort -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment