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

Feature request: compression estimate support #294

Open
axet opened this issue Jan 25, 2024 · 3 comments
Open

Feature request: compression estimate support #294

axet opened this issue Jan 25, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@axet
Copy link

axet commented Jan 25, 2024

Hello!

Filesystems with compression can compress data. Using system tools it is possible to see compression rate for file/folder.

Would be nice to have two optional file sizes original and compressed to see in gdu

For example to see how good folder is compressed you have to run following commmand on btrfs:

sudo compsize -x /usr
@dundee dundee added the enhancement New feature or request label Feb 13, 2024
@xkix
Copy link

xkix commented Feb 22, 2024

Hi,
the same applies to Windows; you can enable compression at the directory level. It would be practical to see the compressed size as well.
Thx for the tool!

@rhysperry111
Copy link

This would definitely be a useful feature. On my system (which uses btrfs) I regularly deal with files with a compression ratio of 10:1 and higher and they end up absolutely swamping everything else in gdu despite taking up very little actual space.

@kittydoor
Copy link

"btdu" supports this, and by only sampling a small number of files (instead of every file individually). Perhaps it's a good example to look at for inspiration in how to implement this in "gdu" if anyone ends up spending some time on this.

https://github.com/CyberShadow/btdu

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

No branches or pull requests

5 participants