Copying, moving, and deleting files

As mentioned earlier, you can copy, move, and delete files whose names are in a result filelist. Some situations where you would do this are as follows:

  • Deleting all the temporary files you created in your ETL process
  • Moving a file to a different place after sending it by email
  • Creating a backup of the files generated in the process

In order to do any of these operations, you use a Process result filenames Job entry located under the File management category of Job entries. The configuration of the step is quite straightforward. You just specify the action to apply to the files in the result filelist: Copy, Move, or Delete. Then there are some extra settings that you will configure depending on the action ...

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.