Copying a File
You can use the copy command to copy a file from one location to another. In the copy command, you can specify the following:
- A network path to copy to or from another device on the network.
- An incoming or outgoing directory to copy to or from the user space.
- A subdirectory name to create a subdirectory within the incoming or outgoing directory in the user space.
![]() |
|
To copy a file from one location to another:
- Issue the copy command in Privileged
Exec mode.
- Copy the contents of the source file to the existing or
newly created file within same network host.host1#copy host1:westford.cnf boston.cnf
- Copy a file from the incoming directory.host1#copy /incoming/releases/2-8-0a3-7.rel 2-8-0a3-7.rel
- Copy a local file to a remote file.host1#copy /shconfig.txt ftp://joe:passwd@173.28.32.156/ftpDir/results/shConfigJoe.txt
- Copy the contents of the source file to the existing or
newly created file within same network host.
Hide Navigation Pane
Show Navigation Pane
SHA1
