cldump(1)
πΎ cldump β the manual page, but make it a group chat π
okay bestie, welcome to cldump(1) from the User Manuals section, aka the lil tool that yanks data out of Clarion databases. it's niche, it's lowkey iconic, and you're gonna understand it fr fr. sit down, grab a boba, let's go π§β¨
πΈ NAME πΈ
cldump β the Clarion database extractor, no cap π«Ά
β¨ SYNOPSIS β¨
cldump [options] database.dat
that's it. that's the whole vibe check. options, then the .dat file, periodt.
π¦ DESCRIPTION π¦
so cldump extracts the data that's chillin' inside a Clarion database. and like β what even is Clarion? it's a Windows IDE, kind of a Delphi-adjacent situation, and it comes with its own database format that's honestly pretty simple. cute of it. π
cldump can pull the data out of that database and export it to a few different formats:
- CSV β spreadsheet-coded, everyone's bestie
- SQL β and yes, it includes the database schema, the keys AND the indexes, the whole package π₯
- its own format β this one gives you all the meta information, but heads up: it is not easily parsable. it's giving lore dump, not structured data π
also, a Clarion database isn't just one file, it's a whole little friend group:
.DATβ these files contain the data (the main character π).Kxxβ these files contain the key/index data.MEMβ these files contain the memo entries associated to the data
π OPTIONS π
-x n,--decrypt nβ decrypt an encrypted file. the required argumentntells it where the key is gonna be retrieved from. valid values are in the range1-4inclusive, andn = 1usually works (start there bestie).
π¨ REAL TALK: decryption happens in-place, so KEEP A BACKUP. there is literally no guarantee the decryption process won't fail. and encrypted files must be decrypted before they can be dumped, so you can't skip this step.
also note: only the data file and the memo file get decrypted in this process. key/index files are left untouched because cldump doesn't use them anyway. not its business, not its problem β¨
-d,--dump-activeβ dump active entries only-D,--dump-dataβ dump the actual data (active AND deleted entries β the ghosts are included π»)-m,--dump-metaβ dump meta information. and jsyk, no SQL or CSV output format exists for this option, so don't try it π-f c,--field-separator cβ set the field separator to characterc. only valid for CSV output (see below).-c,--csvβ dump data or schema in CSV format-S,--sqlβ dump data or schema in SQL format-s,--schemaβ dump database schema-M,--mysqlβ use MySQL specific construct (backticks, ...)-n,--no-memoβ do not dump memo entries-U[charset],--utf8[=charset]β transcode strings and memos from charset to UTF-8. the charset defaults toISO8859-1, and if you wanna see the list of supported charsets, just runiconv --listπ§
π OUTPUT π
cldump outputs the data to stdout or stderr β which one depends on the output format you selected, the data you're extracting, and the type of the data (data vs. meta data). so if you're piping and something looks empty, check the other stream bestie, it's probably there π«Ά
π BUGS π
the SQL output could be improved, ngl. not all the types supported by the Clarion database format are implemented yet β this is due to lack of test databases using these types of data. see the source code for details if you're curious like that.
please report bugs to jb@jblache.org. and if possible, please send patches, because the set of test databases available is very limited π (so like, your contribution would genuinely eat)
π AUTHOR π
cldump was written by Julien BLACHE <jb@jblache.org>. legend behavior.
π HOMEPAGE π
http://www.technologeek.org/projects/cldump/
and that's the whole page, bestie! π this one lives on Linux, it's dated November 2010, and it's filed under cldump(1). go dump some databases responsibly, back up your files, and stan an extractor that actually tells you what it does πβ¨π¦
π¦ where this page comes from
- debian bookworm: cldump 0.11~dfsg-5
- debian trixie: cldump 0.11~dfsg-8 Β· GPL-2.0-only
- ubuntu jammy: cldump 0.11~dfsg-4
- ubuntu noble: cldump 0.11~dfsg-6 Β· GPL-2.0-only
- ubuntu questing: cldump 0.11~dfsg-8
- ubuntu resolute: cldump 0.11~dfsg-8build1 Β· GPL-2.0-only
- ubuntu stonking: cldump 0.11~dfsg-8build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms