...
Physical files are considered directories in UDM because they contain 1+ member. Save files are considered files because they do not contain any members. The
forfiles statement statement and the variable
$(_file.type) allow you to do a wildcard copy on both save and physical files in the LIB file system.
This example copies a mix of files (Save and Physical) from an IBM i system in a single operation, using the
forfiles statement statement and the
$(_file.type) variable attribute.
LIB File System
Components
...