O'Reilly logo

Pentaho Data Integration Cookbook Second Edition by María Carina Roldán, Adrián Sergio Pulvirenti, Alex Meadows

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Copying or moving one or more files

The Copy Files job entry allows you to copy one or more files or folders. Let's see this step in action. Assume that you have a folder with a set of files, and you want to copy them to three folders depending on their extensions: you have one folder for text files, another for Excel files, and the last one for the rest of the files.

Getting ready

You will need a directory named sampleFiles containing a set of files with different extensions, including .txt and .xls. You will also need three destination directories, named txtFiles, xlsFiles, and OtherFiles.

How to do it...

Perform the following steps:

  1. Create a new job and drop a Start job entry into the canvas.
  2. Add a Copy Files job entry. In this entry, you will add ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required