rt-assets-import-csv(1)
π rt-assets-import-csv β the Request Tracker Reference girlies know π
okay so bestie, this is rt-assets-import-csv(1), and she is literally the moment. she's from the Request Tracker Reference family and she is here to get your assets into rt with zero drama. π¦
β¨ 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, because that's where all the setup lore lives, iykyk.
π OPTIONS π
--configfile,-cfile β gives you an explicit extra configuration file, and it gets loaded before any other configuration files. highkey useful when you wanna provide per-importAssetsImportUniqueCFandAssetsImportFieldMappingsettings, like when you're importing from multiple sources that have 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. and we do not want unexpected behavior, bestie. π--updateβ without this option, existing assets (as determined by matchingAssetsImportUniqueCFvalues) are left untouched, like, hands off. with this option provided, records will be updated based on their values in the CSV. glow-up mode. β¨--insertβ by default, assets without aAssetsImportUniqueCFvalue will produce a warning. with this flag, they will be inserted (generating their own id as needed) after all other operations. so patient of them tbh. π--mdy,--dmyβ force RT to parse dates asmm/dd/yyordd/mm/yy, respectively. in the absence of this option, RT will default to theDateDayBeforeMonthsetting, which defaults todd/mm/yy. slay, dates are handled. π--debugβ provide verbose output toSTDERRduring the import. perfect for when you're nosy (affectionate) and need to see everything happening. π₯
fr fr, read the --config warning twice. merged hashes are giving chaos and we are not about that life. π
okay that's the whole page, bestie, you ate it. π this gorgeous little manual comes to you courtesy of the Request Tracker Reference, version perl v5.36.0, dated 2023-08-27. periodt. πβ
π¦ where this page comes from
- ubuntu noble: rt4-extension-assets-import-csv 2.3-4 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms