rt-assets-import-csv(1)

πŸ“¦
version 2.5 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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 πŸ’…

  • --config file or -c file β€” gives you an explicit extra configuration file, and it gets loaded before any other configuration files. super useful when you want per-import AssetsImportUniqueCF and AssetsImportFieldMapping settings because you're importing from multiple sources with differing columns. ⚠️ but listen: if you use this option, RT_SiteConfig.pm should not contain a setting for AssetsImportFieldMapping β€” 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 matching AssetsImportUniqueCF values) 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 a AssetsImportUniqueCF values 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 as mm/dd/yy or dd/mm/yy, respectively. if you don't pick one, RT will default to the DateDayBeforeMonth setting, which defaults to dd/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 to STDERR during the import. πŸ”₯

🌈 reminder bestie: --config + AssetsImportFieldMapping in RT_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