c-icap-mklmdb(8)

πŸ“¦
version 0.6.5 Β· 2 versions
, in epel 10, epel 9, fedora 43, fedora 44

✨ c-icap-mklmdb(8) ✨

okay bestie, welcome to the System Manager's Manual page for c-icap-mklmdb πŸŽ€ this one's a little command-line cutie that builds lookup tables, and we're gonna walk through every single flag together, no skipping, no cap πŸ’…


πŸ’– NAME πŸ’–

c-icap-mklmdb β€” a simple utility to create LMDB lookup tables ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

c-icap-mklmdb [ -V ] [ -VV ] [ -d debug_level ] [ -i file.txt ] [ -p
db_directory ] [ -n db_name ] [ -t string|int|ip ] [ -v string|int|ip ]
[ --dump ] [ --erase ] [ --info ]

like, that's the whole vibe check right there 🫢


🌸 DESCRIPTION 🌸

so the c-icap-mklmdb utility can be used to create LMDB based lookup tables for use with the c-icap server. that's the whole point, that's the mission, that's the main character energy πŸ‘‘


⭐ OPTIONS ⭐

  • -V β€” print version πŸ’–
  • -VV β€” print build informations 🌈
  • -d debug_level β€” the debug level πŸ”
  • -i file.txt β€” the file contains the data (required, bestie, don't forget it πŸ™ˆ). the line format of this file must be:
key: value1, value2, ....
  • -p db_directory β€” the database directory path πŸ“
  • -n db_name β€” a database name to use. multiple LMDB databases can coexists in the same LMDB files πŸ—‚οΈ
  • -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. the "string" is the default ✨
  • -v string|int|ip β€” the type of the values. the "string" is the default ✨
  • --dump β€” do not update the database just dump it to the screen πŸ–₯️
  • --erase β€” erase from database the keys listed in the file given with the '-i' parameter 🧽
  • --info β€” print database informations πŸ“Š

πŸŽ€ EXAMPLES πŸŽ€

  • c-icap-mklmdb -p /path/to/database -i keys.txt

it builds the an LMDB database under the path 'path/to/database', using string type for keys and values πŸ’«

  • c-icap-mklmdb -p /path/to/database --dump

dump the contents of the given database πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

c-icap(8) c-icap-client(8) c-icap-stretch(8) c-icap-config(8) c-icap-libicapapi-config(8)


πŸ’œ AUTHOR πŸ’œ

Tsantilas Christos 🫢


ok that's the whole page, you ate that πŸ’… go build some iconic lookup tables, bestie, iykyk 🌟

and that's a wrap on this little c_icap 0.6.5 moment β€” manual page c-icap-mklmdb(8), signed, sealed, slayed πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from