cp
File Management Commands
page 42-12
OmniSwitch CLI Reference Guide
March 2011
cp
Copies an existing file. This command can also copy a directory if the -r keyword is used.
cp [options] source destination
Syntax Definitions
options
Use the ‘?’ on the command line for a list of options.
source
The name of the existing file to be copied.
destination
The new user-defined file name for the resulting file copy. If you are
copying a file to the same directory as the original, the file name for the
copy must be different from the original.
Defaults
N/A
Platforms Supported
OmniSwitch 10K
Usage Guidelines
•
You should verify that the
/flash
directory of your switch has enough available memory to hold the
copies of the files and directories created.
•
A file can be copied to a new directory location. Copy of a file can also be created in the same
directory that contains the original file.
•
Separate the multiple directory names that are part of the path with a slash (/). Refer to the examples
below.
•
This command can also be used on the secondary CMM.
Examples
-> cp flash/snapshots/asc.1.snap flash/snapshot/snapshot_copy
-> cp flash/snapshots/asc.1.snap snapshot_copy
-> cp asc.1.snap flash/snapshot/snapshot_copy
-> cp asc.1.snap snapshot_copy
-> cp ?
BusyBox v1.16.1 (2010-12-06 23:23:38 PST) multi-call binary.
Usage: cp [OPTIONS] SOURCE DEST
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY
Options:
-a Same as -dpR
-R,-r Recurse
-d,-P Preserve symlinks (default if -R)
-L Follow all symlinks
Содержание 060321-10, Rev. B
Страница 1: ...Part No 060321 10 Rev B March 2011 OmniSwitch CLI Reference Guide www alcatel lucent com...
Страница 36: ...Technical Support About This Guide page xxxvi OmniSwitch CLI Reference Guide March 2011...
Страница 108: ...show udld status port UDLD Commands page 2 22 OmniSwitch CLI Reference Guide March 2011...
Страница 142: ...show vlan members VLAN Management Commands page 4 16 OmniSwitch CLI Reference Guide March 2011...
Страница 324: ...show linkagg range Link Aggregation Commands page 6 66 OmniSwitch CLI Reference Guide March 2011...
Страница 418: ...show lldp remote system med 802 1AB Commands page 9 40 OmniSwitch CLI Reference Guide March 2011...
Страница 922: ...show ip ospf restart OSPF Commands page 17 88 OmniSwitch CLI Reference Guide March 2011...
Страница 968: ...show ipv6 ospf interface OSPFv3 Commands page 18 46 OmniSwitch CLI Reference Guide March 2011...
Страница 1258: ...show ip slb probes Server Load Balancing Commands page 20 50 OmniSwitch CLI Reference Guide March 2011...
Страница 1414: ...show ip dvmrp tunnel DVMRP Commands page 22 34 OmniSwitch CLI Reference Guide March 2011...
Страница 1535: ...PIM Commands show ipv6 pim groute OmniSwitch CLI Reference Guide March 2011 page 23 121 alaPimStarGIAssertWinnerMetric...
Страница 1540: ...show ipv6 pim sgroute PIM Commands page 23 126 OmniSwitch CLI Reference Guide March 2011...
Страница 1814: ...show policy validity period QoS Policy Commands page 26 174 OmniSwitch CLI Reference Guide March 2011...
Страница 1830: ...show policy server events Policy Server Commands page 27 16 OmniSwitch CLI Reference Guide March 2011...
Страница 1853: ...AAA Commands password OmniSwitch CLI Reference Guide March 2011 page 28 23 aaauPassword aaauOldPassword...
Страница 1877: ...AAA Commands show aaa accounting OmniSwitch CLI Reference Guide March 2011 page 28 47 aaacsName4...
Страница 1888: ...show aaa priv hexa AAA Commands page 28 58 OmniSwitch CLI Reference Guide March 2011...
Страница 1902: ...show port mapping Port Mapping Commands page 29 14 OmniSwitch CLI Reference Guide March 2011...
Страница 1942: ...show port monitoring file Port Mirroring and Monitoring Commands page 31 18 OmniSwitch CLI Reference Guide March 2011...
Страница 1960: ...show sflow poller sFlow Commands page 32 18 OmniSwitch CLI Reference Guide March 2011...
Страница 2014: ...show ethernet service sap profile VLAN Stacking Commands page 34 46 OmniSwitch CLI Reference Guide March 2011...
Страница 2114: ...show mac range alloc Chassis MAC Server CMS Commands page 39 8 OmniSwitch CLI Reference Guide March 2011...
Страница 2188: ...show command log status Session Management Commands page 41 36 OmniSwitch CLI Reference Guide March 2011...
Страница 2226: ...ftp File Management Commands page 42 38 OmniSwitch CLI Reference Guide March 2011...
Страница 2252: ...write terminal Configuration File Manager Commands page 44 18 OmniSwitch CLI Reference Guide March 2011...
Страница 2284: ...show snmp trap config SNMP Commands page 45 32 OmniSwitch CLI Reference Guide March 2011...
Страница 2294: ...show dns DNS Commands page 46 10 OmniSwitch CLI Reference Guide March 2011...
Страница 2350: ...OmniSwitch CLI Reference Guide March 2011 page 22 DNS Commands...