XB_IMPORT(1)
π XB_IMPORT(1) β bestie's guide to yeeting delimited data into a DBF π
okay so this is xb_import, and it lives in the General Commands Manual (section 1, the section for the actual runnable commands, iykyk). it's a little program whose whole entire personality is: take a delimited text file, dump those records into a version 3 or 4 DBF data file. that's it. that's the girl. π
β¨ NAME β¨
xb_import β a program to import records in delimited format to a version 3 or 4 DBF data file.
πΈ SYNOPSIS πΈ
xb_import -t MyFile.DBF -i InputFile.txt -d |
xb_import -h
xb_import -v
π¦ DESCRIPTION π¦
so like. xb_import imports data records from a delimited input file into an existing .DBF file. existing!! it does not make you a new one, it fills up the one you already have. π
the first record in the input file is required to be a list of field names, and they have to be in the same order as the data in the delimited input data file. no cap. also those field names need to correspond to field names in the DBF table, otherwise they're just not getting imported, periodt.
here's the slay part: the fields in the input data file do not need to be in the same order as they are in the table. the field names just have to match. order? flexible. names? non-negotiable. π
- fields that exist in the DBF table but are not in your input data β left blank. enjoy the void, babes. π³οΈ
- fields that are in your input data but don't exist in the DBF table β ignored. not invited to the party. π
π OVERVIEW π
the Xbase64 library is the whole ecosystem here β it provides various utility programs and a set of C++ classes for application programming, for reading, writing and updating DBF database files, NDX and MDX index files and DBT memo files. it's giving infrastructure. it's giving main character library. π
version 4.x.x has been tested for compatability with dBASE III (TM), dBASE IV (TM) and dBASE 5 (TM) version data files and indices:
*.DBFβ data*.NDXβ single tag index*.MDXβ multi tag index*.DBTβ memo
and in RDBMS parlance, each *.DBF file would be a table. okay?? now you get it. π§
π OPTIONS π
-h,-?,--helpβ display help information. she's helpful, she's polite.-v,--versionβ display version information. tell me who you are bestie.-t MyFile.DBFβ DBF file to import data to. this is the destination, the target, the final girl.-i InputFile.csvβ input file of delimited text where the first line is a list of field names corresponding to fields in the DBF file to import. first line = the roster. π-d |β optional delimeter. the default delimiter is a comma",".-q,--quietβ quiet mode. she said π€«
ngl the synopsis spells itOtionaland we love her for it, but yes, it's optional β if you don't pass it, you get the comma",".
π FILES π
*.DBF
π AUTHORS π
Gary Kunkel <xdb-devel@lists.sourceforge.net>
π₯ SEE ALSO π₯
xb_cfg_check(1), xb_clearix(1), xb_copydbf(1), xb_dbfutil(1), xb_deletall(1), xb_dumpdbt(1), xb_dumprecs(1), xb_execsql(1), xb_pack(1), xb_reindex(1), xb_tblinfo(1), xb_undelall(1)
the whole friend group fr fr π
π REPORTING BUGS π
<xdb-devel@lists.sourceforge.net>
and that's the page!! this cutie is brought to you by <strong>GNU</strong>, dated <strong>2023-11-18</strong>, and she answers to <strong>XB_IMPORT(1)</strong>. go import something, bestie π«Άβ¨
π¦ where this page comes from
- fedora 44: xbase-utils 4.2.6-2.fc44 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms