Created
March 19, 2019 17:30
-
-
Save breard-r/dbec94bbce53b4175287679c6481d42f to your computer and use it in GitHub Desktop.
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
| cargo tree --no-indent | cut -d ' ' -f1,2 | sed 's/ v/-/' | sort | uniq | while read -r name ; do size=$(stat --printf="%s" "$(find "$HOME/.cargo/registry/cache/" -mindepth 1 -maxdepth 1 -print)/$name.crate"); printf "%07d %s\n" "$size" "$name"; done | sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment