adrianlopezroche / fdupes

FDUPES is a program for identifying or deleting duplicate files residing within specified directories.
2.42k stars 186 forks source link

Enable clonefile on macOS #95

Open danielhoherd opened 6 years ago

danielhoherd commented 6 years ago

On macOS 10.13 you can do cp -c to create a "clonefile", which is a deduplicated copy of a file that is not a hard link. I'd like to see fdupes support that.

This issue is similar to and may be closed for inclusion in #89 and #90.

danielhoherd commented 6 years ago

@jbruchon have you tried OS 10.13 vagrant boxes?

Also, wishful thinking here, but it's possible that clonefile could make its way into the broader BSD ecosystem. https://github.com/apple/darwin-xnu/blob/master/bsd/sys/clonefile.h