ai-written script vs my script 0 ▲ skuka 41 minutes ago · 9 min read1821 words · Tech · hide so a while back i asked claude to write a python script which would backup a .kdbx file to a local nas server. i have not kept the copy of it, but i have asked it again and here is what it wrote (very similar to what i had): #!/usr/bin/env python3 """ kdbx_backup.py - Safely back up a KeePass (.kdbx) database to a NAS. Features * Validates the source really is a KDBX file (magic bytes). * Waits until the file is stable (not mid-save by KeePass/KeePassXC). * Skips the copy if the latest backup is identical (SHA-256). * Atomic copy: writes to a temp file, fsyncs, verifies hash, then renames. * Timestamped versions + a "latest" copy; old versions pruned (--keep). * Works with any mounted path: SMB/NFS mount, /Volumes/NAS, \\\\NAS\\share, Z:\\ * Standard library only. Exit codes: 0 ok/skipped, 1 error, 2 NAS unreachable. Usage python3 kdbx_backup.py # uses defaults below python3 kdbx_backup.py -s ~/sp.kdbx -d /mnt/nas/backup/keepass --keep 50 python3 kdbx_backup.py --dry-run -v Schedule… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town