Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Juniper Paragon Automation User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

file copy

date_range 23-Aug-24

Syntax

content_copy zoom_out_map
file copy source-path destination-path

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

content_copy zoom_out_map
user1@node> 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/

content_copy zoom_out_map
user1@node> 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.

footer-navigation