jdupes
jdupes copied to clipboard
Add sorting by size
Please add sorting by size. Fdupes has a patch: https://github.com/adrianlopezroche/fdupes/pull/56 Thanks
Duplicates are always the exact same size.
The sorting by size would not be of the files duplicate each other, but show in the output first the bigger duplicates, then the smaller (or reverted).
fdupes bug with examples here: https://github.com/adrianlopezroche/fdupes/issues/44 Thanks
After I do the core rewrite, I'll look at adding this as an option.
This is a good feature since it allows the user to start deduplication of the larger files first to improve disk space saved vs. jdupes run time. This is a good feature when deduplicating across many Btrfs snapshots which could have many millions of files and you want to run jdupes only for limited time. I currently use filters and a for loop to achieve something similar, but it is much less efficient.