CoPy
Copy a file
- CoPy
Shortest form:
cp.Copy a file, overwriting the destination. Without a destination the file is copied into the working directory under its own name; a source with no directory part then fails with
No file to copy TO. Paths are inside thesyncdcontainer, and the command runs there as root.Hardware-validated
drivshell> copy /usr/share/sonic/hwsku/sai.profile /tmp/sai.profileBuilt-in help
Parameters: <source> [<destination>] Copy a file from one location to another, intended to copy to/from flash, but any valid source and destination file is valid. If destination is omitted, the default destination is a file of the same name in the current working directory.Further reading
SDK-6.5.20 HSDK Getting Started Guide (GS-SDK6520-R), plus SDK-6.5.20/21/22 Release Notes (RN-SDK65xx-R), BCM_SDK命令.