Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/traconiq/tachoparser/llms.txt

Use this file to discover all available pages before exploring further.

When you have a large set of tachograph files to process, running dddparser once per file is impractical. The -input-list flag accepts a plain text file containing one input path per line and processes each entry in sequence, writing a .json output file next to each source file automatically.
1

Create a file list

Create a plain text file with one absolute or relative path per line:
/data/tacho/truck1.ddd
/data/tacho/truck2.ddd
/data/tacho/truck3.ddd
Empty lines are ignored. You can generate this list with find:
find /data/tacho -name "*.ddd" > files.txt
2

Run the batch command

Pass the list file to -input-list along with the data type flag:
./dddparser -vu -input-list files.txt
Use -card instead of -vu for driver card data.
3

Collect the output files

For each entry in the list, dddparser writes a JSON file at the same path with .json appended:
/data/tacho/truck1.ddd      →  /data/tacho/truck1.ddd.json
/data/tacho/truck2.ddd      →  /data/tacho/truck2.ddd.json
/data/tacho/truck3.ddd      →  /data/tacho/truck3.ddd.json
Output files are always written next to the source file using the .json suffix. The -output flag has no effect in batch mode.
If a file cannot be read or parsed, a warning is logged to stderr and processing continues with the next file. A single bad file will not abort the entire batch. -input-list and -input are mutually exclusive. Providing both flags will cause dddparser to exit with an error.

Build docs developers (and LLMs) love