# 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="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FvpWMP2sLqhFCFroVtQcy%2Fimage.png?alt=media&#x26;token=55201632-d9c8-4f5d-bfd3-8e046a16fd89" 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="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2F7CTU3zT7LqXHG7x6uWBw%2Fimage.png?alt=media&#x26;token=fc321ce9-9bd2-4938-8c7e-04402be2d6be" alt="" width="563"><figcaption></figcaption></figure></div>

This adds the file(s) to be converted.

<div align="left"><figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FmvFrdcy8OlnvMZpcPsfp%2Fimage.png?alt=media&#x26;token=f6fee43f-83f4-40d4-b29a-69581c613770" alt="" width="563"><figcaption></figcaption></figure></div>

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

<div align="left"><figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2F0nZm9ZiMacScxuysm7T5%2Fimage.png?alt=media&#x26;token=1165b1ee-7ec3-44e9-ae2b-66db29ad50bd" 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="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FCORJUWtHnJL0SPwPgf1W%2Fimage.png?alt=media&#x26;token=6455f620-ce35-457a-8f9b-7427df5c0885" alt="" width="563"><figcaption></figcaption></figure></div>

Click 'Create Shell Script.'

<div align="left"><figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2F9LmZSVGmF5cviZSoRQrV%2Fimage.png?alt=media&#x26;token=3087e097-657c-477a-acc3-5e33c8dbb188" 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="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FjVrXBGyCnGANipyGT1BK%2Fimage.png?alt=media&#x26;token=755a1377-95c5-48b7-80c2-4c36edb48a17" alt="" width="563"><figcaption></figcaption></figure></div>

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

<figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FDZFl7fTn0GcM0WSUEwTa%2Fimage.png?alt=media&#x26;token=d2b99ee0-c7fe-4bdd-b41d-7cdbb14e0926" alt=""><figcaption></figcaption></figure>

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

![](https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FjMLWfnYSUqJbO6wPBBhI%2Fimage.png?alt=media\&token=eff10640-78ca-457e-98cd-b66a68fdfe59)

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="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2F3txILcG9L4r1MF4bCjEr%2Fimage.png?alt=media&#x26;token=fc391b1b-fc6c-473d-8d93-a43910d9d0c6" alt=""><figcaption></figcaption></figure>
