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

Add human readable size option #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Blatinox
Copy link

@Blatinox Blatinox commented Sep 10, 2019

With size option, fdupes shows size of duplicate files in bytes which is not
always easy to read for a human. This new human-size option reports sizes in a
more readable format (B, KiB, MiB,...).

This implements #78.

@Blatinox
Copy link
Author

Using -t as option is an arbitrary decision. The most logical letters s and h are already taken: -s for symlinks option, -S for size, -h for help and -H for hardlinks option. I choose t because it is the first letter after s. I'm open to a better choice.

@Blatinox Blatinox mentioned this pull request Sep 10, 2019
@Blatinox Blatinox force-pushed the size_human branch 2 times, most recently from 6bb71c5 to 60d9274 Compare November 12, 2019 20:14
With size option, fdupes shows size of duplicate files in bytes which is not
always easy to read for a human. This new human-size option reports sizes in a
more readable format (B, KiB, MiB,...).
@Blatinox
Copy link
Author

I rebased my branch to resolve conflicts. The human size option is now -T (it still an arbitrary choice).

@adrianlopezroche : what do you think about this PR ?

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

Successfully merging this pull request may close these issues.

1 participant