Visitar URL original
Get a list of biggest files in the repo · Issue #60 · github/git-sizer · GitHub
The Wayback Machine - https://web.archive.org/web/20201023102015/https://github.com/github/git-sizer/issues/60
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 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

@larsxschneider larsxschneider commented Nov 12, 2019

@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

@ymartin59 ymartin59 commented Feb 25, 2020

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.