Time for action – reading all your files at a time using a single text file input step and regular expressions
You can do the same thing that you did previously by using a different notation. Follow these instructions:
- Open the transformation that reads several files and double-click on the Input step.
- Delete the lines with the names of the files.
- In the first row of the grid, under the
File/Directory
column, type the full path of the input folder, for exampleC:\pdi_files\input
. - Under the
Wildcard (RegExp)
column type(usa|europe)_[0-9]{6}\.txt
. - Click on the Show filename(s)... button. You will see the list of files that match the expression:
- Close the ...
Get Pentaho Data Integration Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.