# Create a shell script for converting files

In the Analysis window, Click 'Batch Processing'.

1. In the 'General' tab

* Enable 'Convert files.'
* Select the desired format for conversion, e.g., CSV.
* Enable 'Convert each input file to separate output file.'

<div align="left"><figure><img src="/files/bbkdgPsANRzLmtNpRE5g" alt="" width="563"><figcaption></figcaption></figure></div>

2. In the 'Input files' tab

* Click on the ‘Add file(s) for conversion’ icon.
* Select the desired IVD file.
* Click 'Open'.

<div align="left"><figure><img src="/files/vqbUGqO3C4MWLEJO4NUu" alt="" width="563"><figcaption></figcaption></figure></div>

This adds the file(s) to be converted.

<div align="left"><figure><img src="/files/G7R8mG9MRaGQEIyPGzaX" alt="" width="563"><figcaption></figcaption></figure></div>

In 'Converting rules', change each item's sampling rate using 'interpolation'.

<div align="left"><figure><img src="/files/slQazYOytim49UtWAAJi" alt="" width="563"><figcaption></figcaption></figure></div>

Select the rate for processing the samples (from the pre-listed rates).

<div align="left"><figure><img src="/files/VDYCbh2aG9gbKOnLZxfj" alt="" width="563"><figcaption></figcaption></figure></div>

Click 'Create Shell Script.'

<div align="left"><figure><img src="/files/RGFFckm0dgIjRrVaQfsW" alt="" width="563"><figcaption></figcaption></figure></div>

Specify the location to save the file and click 'Save' after specifying the name for the output file.

<div align="left"><figure><img src="/files/ij85nbVyZpmV0SwI9AjZ" alt="" width="563"><figcaption></figcaption></figure></div>

Double-click on the saved output file and wait whilst the processing is complete.

<figure><img src="/files/MeYd8wa1YITGz6U9SAIf" alt=""><figcaption></figcaption></figure>

Right-click on the file and select 'Edit.'

![](/files/UzqTLtpVEOWPKh7TBPxU)

In the editing window, the user can change the conversion format by simply editing the attributes in the shell script.

All the details about shell help can be found in the 'Help' section of the Dialog software.

<figure><img src="/files/vgm0nCVAlsR5kqwjKNwd" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.influxtechnology.com/support_guides/dialog-user-guide/quick-start-guide/create-a-shell-script-for-converting-files.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
