Copies an existing file to a new file.
CALL DBCloud.CopyFile ( source_filename=source_filename, target_filename=target_filename, host=host )
dbcloudcmd run CopyFile source_filename target_filename host
The file to copy. (Required)
The name of new file. (Required)
The host the file is copied to. Accepts a search query that identifies one host, for example a host name or ID. (Required)
This task copies an existing file to a new file.
Run the following task to copy the file c:\bbb.txt to the file c:\ccc.txt, on hostA:
dbcloudcmd run CopyFile "c:\bbb.txt" "c:\ccc.txt" hostA