Hi, Almost every user of macBS knows finds the BSD utils hard to use, and I am no exception when it comes to the cp command on my friend's system. The attached patch (no, i don't trust my web editor to keep the formatting) allows cp to use the new macOS 10.12 clonefile(2) systemcall for reflinking.
Regards, Mingye Wang (Artoria2e5)
22fccf16496a308d599baaec516b68f85b82f018.patch
Description: Binary data
