Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, Linux has a systemcall to do this for any filesystem with reflink support (and it is safe and atomic). You need a "driver" program to identify duplicates but there are a handful out there. I've used https://github.com/markfasheh/duperemove and was very pleased with how it worked.


btrfs, xfs, FIDEDUPERANGE for the sake of people coming from search engines.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: