Command line arguments

<< Click to Display Table of Contents >>

Navigation:  Reference >

Command line arguments

Easy Data Transform accepts the following command line arguments:

 

<file name>

The .transform file to open at start-up.

-cli

Close the application once any processing on the opened file is complete.

-file <alias>=<location>

Sets the input or output file with the given alias to the location (path) specified. Input Excel files should include the sheet name, e.g. file.xlsx[sheet].

-verbose

Output additional information to the terminal.

 

This allows you to process .transform files in batch mode, e.g.:

 

/Applications/EasyDataTransform.app/Contents/MacOS/EasyDataTransform /Users/andy/Documents/myfile\ 1.transform -file output1=/Users/andy/Documents/data1.csv -cli

/Applications/EasyDataTransform.app/Contents/MacOS/EasyDataTransform /Users/andy/Documents/myfile2.transform -file 'input1=/Users/andy/Documents/data 2.xlsx[sheet1]' -cli

 

You can also use the Mac 'open' command:

 

open /Applications/EasyDataTransform.app --args /Users/andy/Documents/myfile\ 1.transform -file output1=/Users/andy/Documents/data1.csv -cli

open /Applications/EasyDataTransform.app --args /Users/andy/Documents/myfile2.transform -file 'input1=/Users/andy/Documents/data 2.xlsx[sheet1]' -cli

 

But note that no command line output is shown if you use 'open'.

 

Put single quotes (') around any arguments with spaces or a backslash (\) in front of each space (as shown in the examples above).

 

To do this on a schedule, call a script file from a scheduling program, such as launchd.

 

See also:

Batch processing