Convert file between Windows and Unix

Description

The Convert file between Windows and Unix action converts files from Windows (DOS) Format (lines end with CR/LF) to Linux/Unix Format (lines end with LF) and vice versa.

When the format is unknown, this action also has a guess function and converts to the other format.

Options

General tab

Option Description

Action name

The name of the workflow action.

Settings

  • Include Subfolders: also process sub-folders

  • Copy previous results to args : use the list of result files from the previous workflow action (actions) in stead of the static file list below.

Files / Folders

You can specify the list of files or folders with wildcards in this grid. You can add a different source/destination on each line.

After specifying a folder and wildcard (regular expression), use the Add button to add your file/folder selection to the table. Use the Delete or Edit buttons to remove or edit selected lines in the table.

Advanced

Option Description

Success Condition

This action will follow the success path if the selected condition is true. Current options are:

  • Success if all files are processed

  • Success if at least x files are processed

  • Success when number of error files lesser than

Nr Files

specifies the number of files that have to meet the selected condition from above

Add Filenames

Adds the filenames that meet the selected condition to the workflow output stream. Conditions are:

  • Do not add filenames

  • Add all filenames

  • Add only processed filenames

  • Add only error filenames