Skip to content

Instantly share code, notes, and snippets.

@jmjpro
Last active December 20, 2015 04:48
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 jmjpro/6073144 to your computer and use it in GitHub Desktop.
Save jmjpro/6073144 to your computer and use it in GitHub Desktop.
Find which files/folders within a directory of files are responsible for clogging your hard drive with large files. This worked from cygwin on windows but it should work from linux as well.
du -aBM --max-depth=1 2> /dev/null | sort -rn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment