RT-EXTE...CHMENTS(1)
π 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 passage, then only attachments older thanAGEdays get moved. by default everything gets moved, like, everything π no filtering, no mercy.--batchsize=NUMβ if you passbatchsize, then onlyNUMattachments get moved. same deal as above: if you don't set it, everything is moved. baby steps? not by default, bestie π--class=RT::Attachmentsor--class=RT::ObjectCustomFieldValuesβ give it aclassand only objects of that specified class get externalized. narrow it down, main character energy π--ids=NUM,NUMβ use--idsalong with--classto 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 levelinfo) 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-runimplies verbose output, so it's chatty whether you asked or not π
π SEE ALSO π
"External-storage" in RT_ConfigRT::ExternalStorage
ok lowkey important reminder:--idsonly 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
- fedora 43: rt 5.0.10-1.fc43 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms