News for hackers. Stuff that matters.
Re:Scripnix: Useful Python3 and bash shell scripts for macOS... by chasil on Wednesday April 20, 2022 @11:33AM (#31098422)
A lot of these scripts have areas of nuance and subtlety that are likely not addressed.

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.

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

Re:Scripnix: Useful Python3 and bash shell scripts for macOS... by chungy on Wednesday April 20, 2022 @12:36PM (#31099519)
ZFS doesn't (yet) support reflink copies.
Re:Scripnix: Useful Python3 and bash shell scripts for macOS... by chasil on Wednesday April 20, 2022 @12:39PM (#31099564)
Zut alors! I thought it did.