Skip to content

Instantly share code, notes, and snippets.

@benkaiser
Created February 17, 2014 00:58
Show Gist options
  • Select an option

  • Save benkaiser/9042922 to your computer and use it in GitHub Desktop.

Select an option

Save benkaiser/9042922 to your computer and use it in GitHub Desktop.
Find all files in directory and sort them descending based on size
find -type f | xargs du --block-size=1K | sort -rn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment