Catman...d::copy(3pm)
π Catmandu::Cmd::copy β aka the Catman...d::copy(3pm) glow-up π
okay bestie, welcome to the User Contributed Perl Documentation corner of the universe, where the manual page is literally called Catman...d::copy(3pm) and it does exactly one thing but does it flawlessly. no notes. π
β¨ NAME β¨
Catmandu::Cmd::copy β copy items from one store to another π
that's it. that's the whole vibe. you got a store, you got another store, and this bad boy is the glow-up pipeline between them. iconic behavior fr fr π¦
πΈ EXAMPLES πΈ
okay so here's the general shape of it, the main character syntax:
catmandu copy <STORE> <OPTIONS> to <STORE> <OPTIONS>
see that lil <STORE> <OPTIONS> to <STORE> <OPTIONS>? that's the whole thing. store, then options, then the word to (yes, literally the word to, it's giving conversational), then another store, then more options. chef's kiss. π
π the real-world serve
want it in action? here's a MongoDB-to-ElasticSearch situation and honestly? ate:
catmandu copy MongoDB --database_name items --bag book to \
ElasticSearch --index_name items --bag book
look at that backslash. she's a continuation character, she lets you keep your command on multiple lines so your terminal doesn't do the awkward horizontal scroll thing. respect her. π
so what's happening here: items from MongoDB (with --database_name items and --bag book) get copied over to ElasticSearch (with --index_name items and --bag book). same data, new home, no cap. π§
ngl the <OPTIONS> in the synopsis are doing a LOT of heavy lifting β every store has its own lil set of flags, so check the store's own docs before you start guessing. π
π¦ and if you forgot what flags a store takes
bestie. it's fine. we've all been there. just ask:
catmandu help store MongoDB
catmandu help store ElasticSearch
catmandu help store + the store name = the cheat codes. go forth and be literate about your options. π
π one tiny warning tho
this page is short. like, suspiciously short. there's a NAME and there's EXAMPLES and then it just... ends. so if you were hoping for a full OPTIONS list here, the answer is that the options live with the stores, not with copy. that's the whole lore. don't @ me. π
π«Ά SEE YA
that's the page!! written by the lovely folks over at User Contributed Perl Documentation, living in Catman...d::copy(3pm), shipping with perl v5.40.1 and dated 2026-01-24 β yeah, a future date, she's ahead of her time β¨π
go copy some items. you got this. mwah. π πΈ
π¦ where this page comes from
- ubuntu resolute: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms