Batch Deploying on a Mac

Liz Sanderson
Liz Sanderson
  • Updated

FME Version

  • FME 2020.2

Introduction

To process a large number of datasets, FME Workbench supports batch script creation and execution. Batch Deploy is available under the Run menu and takes you through a Wizard to configure a .tcl file.

Step-by-Step Instructions

To configure a workspace to run in batch mode, follow the steps on the documentation page “Running a Batch Translation ”. When you get to the section “Batch Translation Run Options”, follow the below two steps to enable running TCL scripts in a Mac environment.

1. Add the FME install folder to the PATH environment variable

Open the Terminal application and type the command:
sudo nano /etc/paths
Enter your password when prompted.

Use the down arrow to go to the bottom of the file, and type the path to your FME installation:
/Library/FME/2020.2
The file will look something like this in the Terminal window:



Type Control+X to quit, then Y to save, then hit Return to write the file and close the editor.

Now Terminal will recognize the ‘fme’ command.

2. Configure Finder to open .tcl files with Terminal

In Finder, right-click the .tcl file you generated using the Batch Deploy Wizard and click “Open With > Other…”.

In the dialog, search for “Terminal” and select “All Applications” in the drop-down near the bottom.



Select “Terminal.app”, check “Always Open With”, and click “Open”.

Terminal will run the TCL script you configured using the Batch Deploy Wizard. You should see a “Translation SUCCESSFUL” message in the Terminal window when it is finished.

Now you can use a TCL file to run an FME translation on your Mac.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.