git-sizer icon indicating copy to clipboard operation
git-sizer copied to clipboard

Get a list of biggest files in the repo

Open masics opened this issue 6 years ago • 2 comments

It would be nice to get a list of N biggest files in the repo. Both compressed and uncompressed sizes to be shown.

masics avatar Nov 12 '19 12:11 masics

@masics I agree. In the meantime you can use this script to generate the output you want: https://github.com/github/platform-samples/blob/master/scripts/git-find-large-files

larsxschneider avatar Nov 12 '19 22:11 larsxschneider

An alternative is git rev-list --all | xargs -rL1 git ls-tree -r --long | sort -uk3 | sort -rnk4 but it may require large temporary storage...

ymartin59 avatar Feb 25 '20 13:02 ymartin59