Copy files
This scheduled task type allows copying files and folders.
Source folder
Source folder to copy files.
Destination folder
Destination folder to copy files.
Include files
One or more file names separated by semicolon. Wildcards ("*" and "?") are accepted. Since wildcard characters normally match directory separators ("\"), this option may be used to include any files that are in subdirectories. For example,
"1.txt" - include 1.txt file only
"sf\1.txt" - include 1.txt file from "sf" subdirectory only
"*.txt" - include .txt files from all subdirectories
"sf\*.txt" - include .txt files from "sf" and all its subdirectories
"*\*.txt" - include .txt files from all subdirectories (not from main directory)
Exclude files
One or more file names separated by semicolon. Wildcards ("*" and "?") are accepted. Since wildcard characters normally match directory separators ("\"), this option may be used to exclude any files that are in subdirectories. For example,
"1.txt" - exclude 1.txt file only
"sf\1.txt" - exclude 1.txt file from "sf" subdirectory only
"*.txt" - exclude .txt files from all subdirectories
"sf\*.txt" - exclude .txt files from "sf" and all its subdirectories
"*\*.*" - exclude all subdirectories
Notes:
-
To copy a single file, specify its source and destination folders, then specify its file name separately, in the Include files filed.
-
To copy files without recursing down directories in the file system, specify "*\*.*" in the Exclude files field.
Source file
Source file.
Destination file
Destination file.
Returning codes
Error code: Error code of starting the command
Exit code: Number of files copied
Categories: Manual, Shortcut type
Leave a Reply
You must be logged in to post a comment.