RT-EXTE...CHMENTS(1)

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

πŸ’– rt-externalize-attachments πŸ’–

okay bestie, so this page is from the User Contributed Perl Documentation collection, section 1 of the manual, and the command it's about is literally called rt-externalize-attachments. yes that's a mouthful, we'll get through it together 🫢


✨ NAME ✨

rt-externalize-attachments β€” move attachments from the database to external storage, no cap πŸ’…


🌸 SYNOPSIS 🌸

rt-externalize-attachments [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

so rt-externalize-attachments is the little guy you call when you want to move attachments out of the database and into some external storage. that's the whole vibe. attachments were living rent-free in your DB, and now they're moving out 🏠✨


πŸŽ€ OPTIONS πŸŽ€

  • --age=AGE β€” if you pass age, then only attachments older than AGE days get moved. by default everything gets moved, like, everything πŸ’€ no filtering, no mercy.
  • --batchsize=NUM β€” if you pass batchsize, then only NUM attachments get moved. same deal as above: if you don't set it, everything is moved. baby steps? not by default, bestie 😭
  • --class=RT::Attachments or --class=RT::ObjectCustomFieldValues β€” give it a class and only objects of that specified class get externalized. narrow it down, main character energy πŸ‘‘
  • --ids=NUM,NUM β€” use --ids along with --class to explicitly externalize specific records. yes, along with. these two are a package deal, iykyk πŸ”₯
  • -h, --help β€” shows you this documentation. the classic. every command's emotional support flag πŸ₯Ί
  • -v, --verbose β€” logs a message (at level info) for each attachment, both before its upload begins and after it completes. so you get the before AND the after. obsessed with the transparency fr fr πŸ“’
  • --dry-run β€” does a trial run and makes no changes. mostly the same output as a real run gets produced. also, dry-run implies verbose output, so it's chatty whether you asked or not πŸ’–

🌈 SEE ALSO 🌈

  • "External-storage" in RT_Config
  • RT::ExternalStorage

ok lowkey important reminder: --ids only makes sense when you pair it with --class. don't do them separately, bestie, it's giving chaos πŸ™ˆ

and that's the whole page, babe πŸ₯° this one came from the perl v5.42.3 era, dated 2026-07-20, and it lives in the User Contributed Perl Documentation section. go forth and externalize those attachments βœ¨πŸ’œ

πŸ“¦ where this page comes from