DCMDLS(1) General Commands Manual DCMDLS(1)

list dives

dcmdls [
] [
-s sort
] [
file ...

The dcmdls utility accepts a set of dcmd(1) files and collects them into an easy list view. Its arguments are as follows:
Human-readable time spans: break down time into minutes and seconds instead of just seconds. This is the default.
Machine-readable time spans: always seconds.
Verbose parsing.
Sort listed output within a divelog. This may be one of datetime for time (the default), maxtime for maximum dive time, rmaxtime for reverse maximum dive time, maxdepth for maximum depth, rmaxdepth, for reverse maximum depth.
Lists are grouped by dive computer and diver and shown as:
divelog: [vendor] [, product] [, model] [: diver] 
 [pid] [date] [time] [maxdepth] [avgtemp|-] [maxtime] [type]
These fields are as follows:
If specified, the dive computer vendor. For example, “Suunto”.
If specified, the dive computer. For example, “D6i”.
If specified, the model of the dive computer.
If specified, the diver.
The parse identifier. This is unique within a series of dives and depends on input ordering.
The starting date in YYYY-mm-dd format.
The starting time in YYYY-mm-dd format.
The maximum depth in metres.
The maximum time (dive time) in seconds or as a formatted time if -h was specified.
The average temperature or - if no temperatures were specified.
The type of dive: “open” for open-circuit, “free” for free diving, “gauge” for gauge mode, or “closed” for closed-circuit dives.

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


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