Customizing the file management

There are some cases where the options offered by these entries are not enough. Look at these following examples:

  • Moving only the files created in the current month
  • Copying a list of files listed in a .csv file
  • Deleting text files that don't have a predefined header

In cases like these, you have to choose a different approach. There are basically three ways to handle this:

  • Implement the operation with a PDI Transformation
  • Work with result file lists
  • Use arguments in the Job entries

Let's look at an example of the first approach. We will learn about the other two in Chapter 14, Creating Advanced Jobs.

The next example will recreate the Job where we copied the files to the MUSIC folder, but in this case, ...

Get Learning Pentaho Data Integration 8 CE - Third Edition 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.