c-icap-mkbdb(8)

πŸ“¦
version 0.5.10 Β· 2 versions
  • 0.5.10 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute (latest)
  • 0.5.6 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute

πŸ’– c-icap-mkbdb β€” the manual, bestie edition πŸ’–

okay so. you know c-icap? the ICAP server? this little cutie right here, c-icap-mkbdb, lives in section 8 of the System Manager's Manual, and it's basically the ICAP clientutility that makes Berkeley DB lookup tables for you. say it with me: Berkeley DB lookup tables. slay.


✨ NAME ✨

c-icap-mkbdb β€” simple ICAP clientutility to create Berkeley DB lookup tables πŸŽ€


🌸 SYNOPSIS 🌸

c-icap-mkbdb [ -V ] [ -VV ] [ -d debug_level ] [ -i file.txt ] [ -o file.db ] [ -t string|int|ip ] [ -v string|int|ip ] [ --dump ]

like. that's the whole vibe. short, iconic, no notes. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the c-icap-mkbdb utility can be used to create Berkeley DB databases which can be used as lookup tables by the c-icap server. that's it. that's the job. it's giving "I make the databases so the server can look things up." main character energy, honestly. πŸ”₯


πŸ’… OPTIONS πŸ’…

  • -V β€” Print version. that's it bestie, just the version. 🫢
  • -VV β€” Print build informations. yes, the double V. it's a whole different thing. build infos, not just version. iykyk. ✨
  • -d debug_level β€” The debug level. crank it up when you want to see literally everything. πŸ™ˆ
  • -i file.txt β€” The file contains the data (required). no cap, this one is NOT optional, you need it. and the line format of this file must be:
key: value1, value2, ....

yes the dots are real, copy them exactly, don't come for me. πŸ“

  • -o file.db β€” The database to be created. this is where your little creation goes. πŸ‘‘
  • -t string|int|ip β€” The type of the key. select string for string keys, int for integer keys or ip for using IP addresses as keys. and the "string" is the default. 🌈
  • -v string|int|ip β€” The type of the values. the "string" is the default. same energy as -t but for values, not keys, don't mix them up. πŸ’€
  • -p page_size[k] β€” The page size to use. can not be less than 512 bytes or greater than 64k. read the berkeleyDB manual for default values, because we are not the manual for default values. 🧚
  • --btree β€” Use B-Tree as access method for the database. by default uses Hash. choose your fighter. ⭐
  • --dump β€” Do not update the database just dump it to the screen. it's giving "look, don't touch." πŸ‘€

πŸŽ€ EXAMPLES πŸŽ€

  1. c-icap-mkbdb -o keys -i keys.txt It builds the keys Berkeley DB database, using string type for keys and values. the classic. the blueprint. πŸ’œ
  2. c-icap-mkbdb -o keys --dump Dump the contents of the keys database. no changes, just vibes and output. 🌸

πŸ”₯ SEE ALSO πŸ”₯

go read those too, bestie, they're all in the family. 🫢


πŸ’– AUTHOR πŸ’–

Tsantilas Christos. we love a credited author. periodt. πŸ‘‘


and that's the whole page!! πŸ’« written for c_icap 0.5.10 β€” this manual is c-icap-mkbdb(8), and yes, that's the version and that's the section, mwah. πŸ’‹ go build some databases, bestie, you're gonna eat. πŸŽ€βœ¨