Created
February 17, 2014 00:58
-
-
Save benkaiser/9042922 to your computer and use it in GitHub Desktop.
Find all files in directory and sort them descending based on size
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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