Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Moves an existing file to a new file.
CALL DBCloud.MoveFile ( source_filename=source_filename, target_filename=target_filename, host=host )
dbcloudcmd run MoveFile source_filename target_filename host
source_filename The file to move. (Required)
target_filename The name of the new file. (Required)
host The host to move the file to. Accepts a search query that identifies one host, for example a host name or ID. (Required)
The permission of the target file or directory is not maintained by the task.
The mode is defaulted to 0777 for the directory and 0644 for the file, and will be modified by the process's umask in the
Run the following task to move the file c:\temp\bbb.txt to the file c:\temp\ccc.txt on hostA:
dbcloudcmd run MoveFile "c:\temp\bbb.txt" "c:\temp\ccc.txt" hostA