tdatadump
Output some or all database table records.
tdatadump [[-d] dbname] [-o recnum] -csv -H -x -a
The tdatadump command utility outputs the contents of database table records. If no parameters are specified, all node table records are output. Use -d to specify the database, such as setting, pc, monster, etc. Use -o to output a specific record number.
Note that not all fields are output for a record. Logical fields with a value of unknown do not appear in output. String fields which are empty do not appear in output. This briefer format makes the real data in records easier to view.
Option |
Description |
-d dbname |
Specify the database table name. For example: pc, setting, etc. The default is pc. Note that -d is optional; a database table name without -d implies -d. |
-o recnum |
Output a record by referencing its record id. This option may be specified multiple times. Default: all records. |
-csv |
Output records in CSV format. |
-H or -html |
Output records in HTML format. |
-x or -xml |
Output records in XML format. |
-w or -wiki |
Output records in Wiki format. |
-a |
Output all fields in record. Normally, output is shortened to hide empty/unassigned values. |