Hacker News new | ask | show | jobs
by amelius 477 days ago
There are several such tools for Linux, and they are free, so maybe just change operating systems.
2 comments

I'm pretty sure some of them also work on MacOS. rmlint[1], for example can output a script that reflinks duplicates (or run any script for both files):

  rmlint -c sh:handler=reflink .
I'm not sure if reflink works out of the box, but you can write your own alternative script that just links both files

[1]: https://github.com/sahib/rmlint

I don't think either of them supports APFS deduplication though?