DIVECMD2CSV(1) General Commands Manual DIVECMD2CSV(1)

NAME

divecmd2csvexport dives to CSV

SYNOPSIS

divecmd2csv [-v] [files...]

DESCRIPTION

The divecmd2csv utility accepts XML files generated by divecmd(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 divecmd2csv 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 divecmd2csv utility exits 0 on success, and >0 if an error occurs.

AUTHORS

The divecmd2csv utility was written by Kristaps Dzonsons, kristaps@bsd.lv.
February 26, 2017 OpenBSD 6.2