> For the complete documentation index, see [llms.txt](https://docs.influxtechnology.com/support_guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.influxtechnology.com/support_guides/rexdesk-configuration-software-s/rexdesk-rexgen-series-configuration-software/rexdesk-manual/appendix-7-rexdesk-cli-manual/convert-folder.md).

# Convert-folder

**Help command:** help convert-folder

**General convert format:** convert-folder -I \<input folder> -O \<output folder>

<table data-header-hidden><thead><tr><th width="218.33333333333331"></th><th width="247"></th><th></th></tr></thead><tbody><tr><td><strong>Command Options</strong></td><td><strong>Purpose</strong></td><td><strong>Description</strong></td></tr><tr><td><p>-I &#x3C;input folder>       </p><p> </p></td><td><p>Specify the input folder path containing RXD files.</p><p> </p></td><td> </td></tr><tr><td><p>-O &#x3C;output folder>      </p><p> </p></td><td>Specify output target folder path.</td><td> </td></tr><tr><td>-C (optional)</td><td>Set concatenation mode.</td><td><p>All converted data will be stored in the same output file (concatenated) when- C is used.</p><p> </p></td></tr><tr><td>-F &#x3C;type> &#x3C;format>      </td><td>Specify the desired output type and internal file format.</td><td><p>Supported target conversion file types and formats are:</p><p>·        <em>mf4</em> for ASAM MDF4 file (*.mf4)</p><p>·        <em>asc</em> for ASCII Logging File (*.asc)</p><p>·        <em>blf</em> for Vector binary frames (*.blf)</p><p>·        <em>mat</em> for Matlab 5.0 (*.mat)</p><p>·        <em>csv for Comma Separated Values (*.csv)</em></p><p>·        <em>csv InfluxDB</em> for CSV line protocol file (*.csv) required for InfluxDB import</p><p>·        csv Regional for unofficial CSV line protocol file (*.csv) using local regional settings for list separator and decimal separator</p></td></tr><tr><td><p>-S &#x3C;bus> &#x3C;signal file> </p><p>(Optional)</p></td><td>Attach signals to specific can bus.</td><td><p>It can be used multiple times for each bus.</p><p>·        Parameter &#x3C;bus> should be the name of the bus - can0, can1.</p><p>·        Parameter &#x3C;signal file> should be the signal file path. Supported file formats are DBC only.</p><p> </p></td></tr><tr><td><p>-E &#x3C;encryption key></p><p>(Optional)    </p></td><td>Specify the encryption key file.</td><td>Used for decrypting .rxe files.</td></tr><tr><td>-r &#x3C;rate> &#x3C;method></td><td>Specify the resampling rate and method</td><td><p>Define the resampling rate in milliseconds and the method to use to obtain values:</p><p>·        <strong>near</strong> - to use the nearest sample by timestamp</p><p>·        <strong>last</strong> - last sample, which means the previous</p></td></tr><tr><td>-t &#x3C;axis> &#x3C;begin> &#x3C;end></td><td>Specify the beginning and end parameters</td><td><p>Define time axis sync initial sample timestamp source</p><p>·        <strong>first</strong> - first sample in file</p><p>·        <strong>zero</strong> - zero seconds (0 sec)</p><p> </p><p>Begin and End parameters can describe what to do before the initial sample in each channel and after the last sample in each channel. Optional values can be:</p><p>·        nothing</p><p>·        duplicate</p></td></tr></tbody></table>

### Example:

*To convert all the RXD files in a folder to asc, use the below script:*

#### @echo off

CD C:\Program Files (x86)\Influx Technology\ReXdesk\\&\&rexdesk convert-folder -F asc -I “C:\Users\usern\Desktop\Input” -O “C:\Users\usern\Desktop\Output”

&#x20;*To merge and convert all the RXD files in a folder to CSV using the below script*

#### @echo off

CD C:\Program Files (x86)\Influx Technology\ReXdesk\\&\&rexdesk convert-folder -C -F  csv -I “C:\Users\user\Desktop\Input” -O “C:\Users\user\Desktop\Output”

&#x20;*To merge and convert all the RXD files in a folder to CSV after linking the DBC file, use the below script*

#### @echo off

CD C:\Program Files (x86)\Influx Technology\ReXdesk\\&\&rexdesk convert-folder -C -F asc -I “C:\Users\user\Desktop\Input” -O “C:\Users\user\Desktop\Output” -s can0 “C:\Users\user\Desktop\ReXgen\_IMU\_Out\_V2.dbc”

To convert an RXD file to CSV *after linking the DBC file* and resampling, use the below script:

#### @echo off

CD C:\Program Files (x86)\Influx Technology\ReXdesk\\&\&rexdesk convert-folder -F asc -I

“C:\Users\usern\Desktop\Input” -O “C:\Users\usern\Desktop\Output” -r 100 near -t first duplicate duplicate


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.influxtechnology.com/support_guides/rexdesk-configuration-software-s/rexdesk-rexgen-series-configuration-software/rexdesk-manual/appendix-7-rexdesk-cli-manual/convert-folder.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
