4 ms·
It does get rid of the duplicate. The duplicate data is deleted and a hard link is created in its place.
by dingnuts 2y ago
It does get rid of the duplicate. The duplicate data is deleted and a hard link is created in its place.
- zippergz 2y agoIt does not make hard links. It makes copy-on-write clones.
- kemayo 2y agoNo, because it's not actually a hard link -- if you modify one of the files they'll diverge.
- 8n4vidtmkvmk 2y agoSounds like jdupes with -B
- kemayo 2y agoCursory googling suggests that it's using the same filesystem feature, yeah.
- mort96 2y agoReplacing duplicates with hard links would be extremely dangerous. Software which expects to be able to modify file A without modifying previously-identical file B would break.