jdupes icon indicating copy to clipboard operation
jdupes copied to clipboard

Add sorting by size

Open FabioPedretti opened this issue 3 years ago • 4 comments

Please add sorting by size. Fdupes has a patch: https://github.com/adrianlopezroche/fdupes/pull/56 Thanks

FabioPedretti avatar Nov 15 '20 18:11 FabioPedretti

Duplicates are always the exact same size.

jbruchon avatar Nov 15 '20 18:11 jbruchon

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

FabioPedretti avatar Nov 15 '20 19:11 FabioPedretti

After I do the core rewrite, I'll look at adding this as an option.

jbruchon avatar Feb 10 '21 00:02 jbruchon

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.

Forza-tng avatar Jun 10 '23 08:06 Forza-tng