Copies the contents of one directory to one or more other directories overwriting files, but not deleting any.
Table 1. Input properties for the Copy Directory stepName |
Type |
Description |
Required |
Source Directory |
String |
The directory to copy. |
Yes |
Destination Directories |
String |
A new line separated list of directories to copy to. |
Yes |
Include Files |
String |
A new line separated list of file patterns for included files. **/* is default to include all. |
Yes |
Exclude Files |
String |
A new line separated list of file patterns for files to exclude. (e.g. **/*.zip excludes all .zip files in all sub directories) |
No |
Rename Rules |
String |
Rules for renaming the files in the destination directories. Each rule should be given on a separate line, in the format "FROM->TO". Examples: a.txt->b.txt (Renames files named "a.txt" to "b.txt"); *.java->*.java.bak (Renames all files ending with .java to instead end with .java.bak); Rules are applied in the order that they are given. A file will have at most one rule applied to it. |
No |