Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get a list of biggest files in the repo #60

Open
masics opened this issue Nov 12, 2019 · 2 comments
Open

Get a list of biggest files in the repo #60

masics opened this issue Nov 12, 2019 · 2 comments

Comments

@masics
Copy link

masics commented Nov 12, 2019

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

@larsxschneider
Copy link
Member

@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

@ymartin59
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants