List and Move Files
This tasks allows you to move multiple files from one location on your local machine or network to another, using an optional search pattern. The task wraps the provided List Files and Move File tasks to make them easier to use in Workflows and reduce the number of tasks required.
Settings
Folder
Optional
The directory containing the files to list. Use a dot to list files in the workflow's working directory, or the path to the folder.
Recursive
Required
Set to true if you want the task to list all files in sub-directories, or false to only list files in the directory specified.
Search Pattern
Optional
Allows you to specify the type of files to be processed. For example, *.xml
will only list files with the .xml extension.
This should be set to Data Type: Text or script
Destination Folder
Required The directory where the listed files will be copied to.
Overwrite File
Required
Set to True to overwrite the destination file if it exists, False will not replace the file. Defaults to True.
Prepend Timestamp
Required
Set to True to prepend the output files with a timestamp. Defaults to False
.
Timestamp Format
Optional
The format to use when prepending timestamps to file names. Defaults to yyyyMMddHHmmssffff
. Documentation on the allowed values can be found on https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings?view=netframework-4.8.