chriskrycho / freespace.tdhopper.com

Commands for cleaning up your system and freeing up disk space.

Home Page:https://freespace.tdhopper.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

% Free Disk Space % Tim Hopper % 2018-08-30

Use at your own risk.

Command Line

Docker

docker system prune --all

Conda

conda clean --all

Git

Cleanup unnecessary files and optimize the local repository

git gc --aggressive --prune=now

Deleted merged branches (except for master, main, develop or dev)

git branch --merged | egrep -v "(^\*|master|main|develop|dev)" | xargs git branch -d

Homebrew

brew cleanup -s

apt-get / aptitude

apt-get clean
# or
apt clean
# or
aptitude clean

Mac/Linux Cache Folder

rm -r ~/.cache

Yarn

yarn cache clean

Utilities

  • CleanMyMac
  • DaisyDisk
  • Monolingual: "program for removing unnecessary language resources from macOS, in order to reclaim several hundred megabytes of disk space"

Use at your own risk.

(Pull request's welcome)

About

Commands for cleaning up your system and freeing up disk space.

https://freespace.tdhopper.com

License:The Unlicense


Languages

Language:HTML 99.0%Language:Makefile 1.0%