RT-CLEA...TRIBUTES(1)

πŸ“¦
version 5.0.10 Β· 4 versions
, in fedora 43

🌸 rt-clean-attributes(1) 🌸

okay bestie, welcome to your new fave lil utility β€” it lives in the User Contributed Perl Documentation corner of the manual, and honestly? it's giving janitor energy, but make it glamorous πŸ’…


✨ NAME ✨

rt-clean-attributes β€” clean obsolete RT attributes 🧹✨


🫢 SYNOPSIS 🫢

     rt-clean-attributes
     rt-clean-attributes --older 1M

like, run it bare and it just does its thing, or hand it an --older and it gets specific. your call, queen πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

so what does this lil script actually DO? bestie. it deletes obsolete DeferredRecipients attributes. that's the whole job. no cap.

and why is that safe?? okay so listen: those DeferredRecipients attributes are used by rt-email-digest to store email that needs to be sent later β€” either daily or weekly, depending on the vibe 🌈

and here's the tea β˜• β€” since rt-email-digest only processes transactions that were created at most one week in the past, anything older than a week is basically a ghost πŸ‘» it will never be accessed again. so deleting DeferredRecipients attributes older than one week? completely safe. iconic. no notes. ✨

lowkey this is the whole reason the script exists β€” it's cleanup duty, but the good kind πŸ’œ

πŸ‘‘ OPTIONS πŸ‘‘

  • --older β€” a date interval, written in the <NUM>[<unit>] format. the default unit is D(ays), and H(our), M(onth) and Y(ear) are also supported πŸ—“οΈβœ¨
  • --verbose β€” shows extra output on the command line while it's running, so you can watch the magic happen in real time πŸ”₯πŸ‘€

πŸŽ€ SEE YA πŸŽ€

and that's the whole page, bestie! this lil bundle of joy comes to you from perl v5.42.3, dated 2026-07-20, filed under RT-CLEA...TRIBUTES(1) β€” go forth and clean those attributes, you absolute legend πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from