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

Find big files only #26

Open
edwingeng opened this issue Oct 7, 2013 · 3 comments
Open

Find big files only #26

edwingeng opened this issue Oct 7, 2013 · 3 comments

Comments

@edwingeng
Copy link

It would be nice to add an option allowing the user to find all big files in a repository.

@ajmath
Copy link

ajmath commented Jun 3, 2014

+1

@mumrah
Copy link

mumrah commented Nov 22, 2014

+1, in the past I've followed these instructions: http://naleid.com/blog/2012/01/17/finding-and-purging-big-files-from-git-history

but certainly a BFG command would be a lot nicer :)

rtyley added a commit that referenced this issue Dec 26, 2014
This should make seeing what the BFG has got up to a lot easier, and will
make a dry-run mode (still not implemented) much more useful.

#26
#17 (comment)

The new output looks like this (and it only appears if files *have* been
changed, or deleted, as appropriate).

```
Changed files
-------------

	File                           Before     After
	--------------------------------------------------
	bushhidthefacts-ORIGINAL.txt | 93fd267a | 4f6f1558

Deleted files
-------------

	File        git-id     Size (bytes)
	-----------------------------------
	video.mp4 | 294f4016 | 126384
```
rtyley added a commit that referenced this issue Dec 26, 2014
This should make seeing what the BFG has got up to a lot easier, and will
make a dry-run mode (still not implemented) much more useful.

#26
#17 (comment)

The new output looks like this (and it only appears if files *have* been
changed, or deleted, as appropriate).

```
Changed files
-------------

	Filename                             Before & After
	--------------------------------------------------------------------------------------------------
	CODE.conf                          | e3aa4a56 ⇒ b9241055, 6fd90c18 ⇒ 1f390cd7, ...
	PROD.conf                          | 5a89032a ⇒ 38193000, 2611394d ⇒ 9c742f65, ...

Deleted files
-------------

	Filename                     Git id
	------------------------------------------------
	bg.jpg                     | d0ea4091 (2.0 MB)
	guardian_space002.png      | 24215b1e (1.2 MB)
```
rtyley added a commit that referenced this issue Dec 30, 2014
This should make seeing what the BFG has got up to a lot easier, and will
make a dry-run mode (still not implemented) much more useful.

#26
#17 (comment)

The new output looks like this (and it only appears if files *have* been
changed, or deleted, as appropriate).

```
Changed files
-------------

	Filename                             Before & After
	--------------------------------------------------------------------------------------------------
	CODE.conf                          | e3aa4a56 ⇒ b9241055, 6fd90c18 ⇒ 1f390cd7, ...
	PROD.conf                          | 5a89032a ⇒ 38193000, 2611394d ⇒ 9c742f65, ...

Deleted files
-------------

	Filename                     Git id
	------------------------------------------------
	bg.jpg                     | d0ea4091 (2.0 MB)
	guardian_space002.png      | 24215b1e (1.2 MB)
```
@sandstrom
Copy link

+1 (a 'listing/safe mode', for peace of mind before running for real)

abaga129 pushed a commit to abaga129/glean that referenced this issue Jul 18, 2019
This should make seeing what the BFG has got up to a lot easier, and will
make a dry-run mode (still not implemented) much more useful.

rtyley/bfg-repo-cleaner#26
rtyley/bfg-repo-cleaner#17 (comment)

The new output looks like this (and it only appears if files *have* been
changed, or deleted, as appropriate).

```
Changed files
-------------

	Filename                             Before & After
	--------------------------------------------------------------------------------------------------
	CODE.conf                          | e3aa4a56 ⇒ b9241055, 6fd90c18 ⇒ 1f390cd7, ...
	PROD.conf                          | 5a89032a ⇒ 38193000, 2611394d ⇒ 9c742f65, ...

Deleted files
-------------

	Filename                     Git id
	------------------------------------------------
	bg.jpg                     | d0ea4091 (2.0 MB)
	guardian_space002.png      | 24215b1e (1.2 MB)
```
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

4 participants