Re:Scripnix: Useful Python3 and bash shell scripts for macOS...
by Self-Perfection on Wednesday April 20, 2022 @04:26PM
(#31102532)
Since coreutils 9.0 you don't need to explicitly enable CoW in cp, this behaviour is default now.
https://www.mail-archive.com/[email protected]/msg02953.html
The backup script that essentially runs cp "$x" "$x.$(date +%y%m%d)" would greatly benefit from the --reflink option to GNU cp, but only when running on a COW filesystem (ZFS or BtrFS). This particularly strikes me.