Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can copy one of more files or folders with this job entry.

Options

General tab

Option

Description Definition

Job entry name

The name of the job entry.
Note : This name has to be unique in a single job. A job entry can be placed several times on the canvas, however it will be the same job entry.

Settings

  • Include Subfolders: also copy sub-folders
  • Replace existing files : overwrite existing files, otherwise gives an error
  • Copy empty folders : also copy empty folders
  • Remove source files : delete files after a successful copy (turning this into a move)
  • Copy previous results to args : use the list of result files from the previous job entry (entries) in stead of the static file list below.

Files / Folders

You can specify the list of files or folders with wildcards in this grid.
You can add a different source/destination on each line.
NOTE: You can use the "Add" this entry as it appears in the transformation workspace.

Include subfolders

Check this option if you want to include subfolders. Note: This option will only work when the source is a folder.

Destination is a file

PDI will consider destination a file.

Copy empty folders

Check this option to also copy empty folders.

Create destination folder

This option will create a folder; if destination is a file, parent folder will be created as necessary.

Replace existing files

If the destination file or folder exists, this option will replace it, otherwise PDI will ignore it.

Remove source files

Remove the source files after copying. Only files will be removed.

Copy previous results to args

Check this option to pass the results of the previous entry to the arguments of this entry. Note: Arguments must be in the following order: 1) source folder/file, 2) destination folder/file, 3) wildcard.

File/Folder source

Enter the file or folder to be copied. Note: If destination is a folder, PDI will only fetch the files within the folder if the Include Subfolders option is checked. Note: You can use the Add button to add a line to the Files/Folders list.

File/Folder destination

Enter the destination file or folder. Result file name

Wildcard (RegExp)

Allows you to use wildcard expressions to specify source or destination files or folders.

Files/Folders:

Table displays copying parameters set in the fields above after pressing the Add button.

Result files name tab

Option

Definition

Add files to result files

: add the copied files (targets) to the list of result files for this job entry

name

Add destination files to result files name.