rt-assets-import-csv(1)
π rt-assets-import-csv β bestie's guide to yeeting assets into RT π
okay so this is a page from the Request Tracker Reference manual, and it's literally the manual page for rt-assets-import-csv(1). yes the name inside is just rt-assets-import, don't @ me, that's what it says. π
β¨ NAME β¨
rt-assets-import β import assets to rt π«Ά
πΈ SYNOPSIS πΈ
rt-assets-import /path/to/assets.csv
rt-assets-import --update /path/to/assets.csv
π¦ DESCRIPTION π¦
This script will import/update assets from a CSV into rt. no cap. See RT::Extension::Assets::Import::CSV for configuration. π
π OPTIONS π
--configfile or-cfile β gives you an explicit extra configuration file, and it gets loaded before any other configuration files. super useful when you want per-importAssetsImportUniqueCFandAssetsImportFieldMappingsettings because you're importing from multiple sources with differing columns. β οΈ but listen: if you use this option,RT_SiteConfig.pmshould not contain a setting forAssetsImportFieldMappingβ otherwise the two hashes will be merged, which will produce unexpected behavior. like, it's giving chaos. don't do that. π--updateβ without this option, existing assets (as determined by matchingAssetsImportUniqueCFvalues) are left untouched, fr just vibing. with this option provided, records will be updated based on their values in the CSV. β¨--insertβ by default, assets without aAssetsImportUniqueCFvalues will produce a warning; with this flag, they will be inserted (generating their own id as needed) after all other operations. so polite of them to wait their turn. π₯Ί--mdy,--dmyβ force RT to parse dates asmm/dd/yyordd/mm/yy, respectively. if you don't pick one, RT will default to theDateDayBeforeMonthsetting, which defaults todd/mm/yy. pick your fighter. π₯dry-runβ if this option is provided, the script will only read the CSV and perform sanity checks, but will not import or update any assets. it's the "look but don't touch" of import modes. π--debugβ provide verbose output toSTDERRduring the import. π₯
π reminder bestie:--config+AssetsImportFieldMappinginRT_SiteConfig.pm= merged hashes = unexpected behavior. that's not a vibe. that's a bug you made yourself. π
okay that's the whole page, periodt β¨π this was rt-assets-import-csv(1) from the Request Tracker Reference, rendered for perl v5.40.1 and dated 2026-02-14 β mwah, go import some assets, you're doing amazing sweetie ππ¦πΈπ
π¦ where this page comes from
- ubuntu resolute: rt5-extension-assets-import-csv 2.5-1 Β· GPL-2.0-only
- ubuntu stonking: rt5-extension-assets-import-csv 2.5-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms