> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# dos2unixArtifacts

> Runs DOS to UNIX conversion on files in artifacts folder ( FD ARTIFACTS DIR ). This operation can be useful prior to operation, so that files copied o

Runs DOS to UNIX conversion on files in artifacts folder (`FD_ARTIFACTS_DIR`). This operation can be useful prior to [*copyArtifacts*](https://docs.flexagon.com/flexdeploy-10-0-documentation/flexdeploy-plugin-guides/flexdeploy-file-plugin-guide/copyartifacts.md) operation, so that files copied on target UNIX system are properly converted for new line character.

This is necessary as Windows and UNIX have different characters for new line.

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Source Subfolder</td><td>`FDFILE_INP_SOURCE_SUBFOLDER`</td><td>No</td><td>The `FD_ARTIFACTS_DIR` sub-folder to select files for DOS to UNIX conversion. If not specified, all files in `FD_ARTIFACTS_DIR` are eligible for conversion.</td></tr><tr><td>File Filter</td><td>`FDFILE_INP_FILE_FILTER`</td><td>No</td><td>Wildcard compatible expression to select file(s). You can enter multiple filter expressions separated by ##. Leave empty to select all files. The ## performs an OR expression. This will filter Files or Directory names but not the path. (e.g. for "/this/is/a/test/path" if you use "path" it will filter it, if you use "/this/is/a/test/path" it will not)</td></tr><tr><td>File Exclude Filter</td><td>`FDFILE_INP_FILE_FILTER_EXCLUDED`</td><td>No</td><td>Wildcard compatible expression to exclude file(s) OR folders. You can enter multiple filter expressions separated by ##. Leave empty to select all files. The ## performs an OR expression. This will filter Files or Directory names but not the path. (e.g. for "/this/is/a/test/path" if you use "path" it will filter it, if you use "/this/is/a/test/path" it will not)</td></tr></tbody></table>

# Artifacts

This operation consumes artifacts from artifact repository. This is not exposed to workflow developer.

# Endpoint Selection

This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated to the target. Selecting a specific resource will result in selection of endpoints associated to the target which have that resource defined.

# Endpoint Execution

This operation delegates endpoint execution to the workflow developer. The workflow editor will default to "Any", which will execute on any one of the selected endpoints, which will be randomly picked from selected endpoints or a specific endpoint where previous step may have executed. Changing this value to "All" to will result in execution on all selected endpoints.
