DCMD2CSV(1) General Commands Manual DCMD2CSV(1)

NAME

dcmd2csvexport dives to CSV

SYNOPSIS

dcmd2csv [-v] [files...]

DESCRIPTION

The dcmd2csv utility accepts XML files generated by dcmd(1) and exports dive profiles to CSV. This can then read by, say, Subsurface. Its arguments are as follows:
 
 
-v
Parse files in verbose mode.
 
 
files...
XML input files with one or more dives.

Output

The output of dcmd2csv consists of comma-separated rows of dive number, time (seconds since start of the dive), depth (metres), and temperature (celsius). The depth and temperature fields may be empty.
To import into subsurface, these columns correspond to the “Dive No.”, “Time”, “Sample depth”, and “Sample temperature” fields when importing from a dive log CSV file. The separator is a comma, time in seconds, measures in metric.

EXIT STATUS

The dcmd2csv utility exits 0 on success, and >0 if an error occurs.

AUTHORS

The dcmd2csv utility was written by Kristaps Dzonsons, kristaps@bsd.lv.
August 13, 2018 OpenBSD 6.3