Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

file copy

Syntax

Description

Copy a file from one location to another.

Options

source-path

Source file and path.

destination-path

Destination path where the file must be copied.

Required Privilege Level

configure

Sample Output

file copy /var/log/action.log root@10.1.2.3:/tmp

Where:

  • source-path:/var/log/action.log is the file path inside the Docker container of node, in which user1 is logged in.

  • destination-path:/tmp is the file path in node 10.1.2.3 but not inside any Docker container as no user is logged into it.

file copy root@10.1.2.3:/tmp/action1.log /var/log/

Where:

  • source-path:/tmp/action1.log in node 10.1.2.3 but not inside any Docker container as no user is logged into it.

  • destination-path:/var/log/ is the file path inside the Docker container of node, in which user1 is logged in.

Release Information

Command introduced in Paragon Automation Release 2.0.0.