-
Notifications
You must be signed in to change notification settings - Fork 0
MoveFile
Akshin Mustafayev edited this page Sep 4, 2022
·
2 revisions
Moves specified file to a new directory.
- ActionType: MoveFile
ActionDescription:
FileSource:
FileDestination:
Overwrite:
ExactVariableCheck: - ActionType: MoveFile
ActionDescription: Move log file
FileSource: D:\log.txt
FileDestination: D:\new\path\log.txt
Overwrite: true
ExactVariableCheck: false - ActionType: MoveFile
FileSource: D:\log.txt
FileDestination: D:\new\path\log.txt - ActionType: MoveFile
FileSource: D:\log.txt
FileDestination: D:\new\path\log.txt
Overwrite: true - ActionType: MoveFile
FileSource: $varFile1
FileDestination: $varFile1DestThis parameter specifies action name. MoveFile value is required for this action to be executed.
Required: true
Default Value: MoveFile
Accepted Value: MoveFile
Accepted Value Type: string
Accepts Variables: falseThis parameter specifies description of the action.
Required: false
Default Value: none
Accepted Value: any
Accepted Value Type: string
Accepts Variables: falseThis parameter specifies absolute path to file which should be moved.
Required: true
Default Value: none
Accepted Value: any
Accepted Value Type: string
Accepts Variables: trueThis parameter specifies absolute path to where file should be moved to.
Required: true
Default Value: none
Accepted Value: any
Accepted Value Type: string
Accepts Variables: trueThis parameter specifies if file should be overwritten in the destination path if it already exists there.
Required: false
Default Value: false
Accepted Value: true\false
Accepted Value Type: boolean
Accepts Variables: trueThis parameter specifies how to check YAML file variables specified in other parameters. If value is:
- true - variable value will be set when it is a separated word. Example: $var1$var2 will not be considered as $var1 and $var2.
- false - variable value will be set even if it is not separated word . Example: $var1$var2 will be considered as $var1 and $var2.
Required: false
Default Value: none
Accepted Value: true\false
Accepted Value Type: boolean
Accepts Variables: false