CPDIC(1)

πŸ’– CPDIC(1) β€” the User Dictionary Copy Tool, bestie edition πŸ’–

okay so you opened the General Commands Manual and landed on CPDIC(1)?? slay, you're in the right place. this is literally the copy tool for Canna user dictionaries and i'm about to make it make sense. no cap. πŸŽ€


✨ NAME ✨

cpdic β€” User Dictionary Copy Tool. that's it, that's the whole vibe. she copies dictionaries. πŸ‘‘


🌸 SYNOPSIS 🌸

cpdic [{-cs|-cannaserver} canna-server] [-i|-u user-name] from-dic to-dic

read it like a little recipe: optional server flag, optional "which dictionary" flag, then from-dic and to-dic. iconic honestly. πŸ¦‹


πŸ’… DESCRIPTION πŸ’…

so cpdic copies a user dictionary from from-dic to to-dic β€” and here's the important part β€” it also rewrites the dictionary directory file, dics.dir. not just the dictionary, the whole index thing. she's thorough. πŸ’–

if the user dictionary directory doesn't exist yet? no stress. cpdic creates it, and then creates dics.dir inside it. she's a builder. 🧚

now, the flags that change what gets copied:

  • if you pass -i, the system dictionary is what gets copied. like, the big one. 🌈
  • if you pass -u, you're copying another user's dictionary. yes, someone else's. 🀭

⭐ OPTIONS ⭐

  • -cs canna-server (or -cannaserver canna-server) β€” tells cpdic which server machine holds the dictionary you wanna copy. two spellings, same energy, pick whichever feels right. 🫢
  • -i β€” copies the system dictionary. periodt. πŸ‘‘
  • -u user-name β€” copies the dictionary belonging to the user you name. user-name goes right there in the slot. πŸ’œ

πŸŽ€ SEE ALSO πŸŽ€

the whole friend group, fr fr:


and that's the whole page!! this was CPDIC(1) from the General Commands Manual β€” go copy a dictionary, bestie, you're gonna eat πŸ’…βœ¨πŸ’–

πŸ“¦ where this page comes from