Last active
January 20, 2016 15:06
-
-
Save larsxschneider/bdaa20919b910ca339e9 to your computer and use it in GitHub Desktop.
Print size of the LFS files in a repo and order by 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
| git-lfs ls-files | cut -c 14- | tr '\n' '\0' | xargs -0 ls -l | awk '{$1=$2=$3=$4=$6=$7=$8="";print}' | sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment