Command Reference Guide
236 ● move 3Com Router 5000 Family and Router 6000 Family
Command Reference
move
Purpose Use the move command to move a file.
Syntax move filename-source filename-dest
Parameters filename-source
Name of the source file.
filename-dest
Name of the target file.
Example <3Com> dir
Directory of flash:/
0 -rw- 2145123 Jul 12 2001 12:28:08 AR46.bin
1 -rw- 595 Jul 12 2001 10:47:50 vrpcfg.cfg
2 drw- 0 Jul 12 2001 19:41:20 test
6477 KBytes total (2144 KBytes free)
<3Com> dir flash:/test/
Directory of flash:/test/
0 drw- - Jul 12 2001 20:23:37 subdir
1 -rw- 595 Jul 12 2001 20:13:19 vrpcfg.cfg
2 -rw- 50 Jul 12 2001 20:08:32 sample.txt
6477 KBytes total (2144 KBytes free)
Move the file from flash:/test/sample.txt to flash:/sample.txt.
<3Com> move flash:/test/sample.txt flash:/sample.txt
Move flash:/test/sample.txt to flash:/sample.txt ?[Y/N]:y
% Moveded file flash:/test/sample.txt flash:/sample.txt
<3Com> dir
Directory of flash:/
0 -rw- 2145123 Jul 12 2001 12:28:08 ne80.bin
1 -rw- 595 Jul 12 2001 10:47:50 vrpcfg.cfg
2 drw- 0 Jul 12 2001 19:41:20 test
3 -rw- 50 Jul 12 2001 20:26:48 sample.txt
6477 KBytes total (2144 KBytes free)
<3Com> dir flash:/test/
Directory of flash:/test/
0 drw- - Jul 12 2001 20:23:37 subdir
1 -rw- 595 Jul 12 2001 20:13:19 vrpcfg.cfg
6477 KBytes total (2144 KBytes free)
View This command can be used in the following views:
■ User view
Description If the name of the target file is the same with the name of an existing directory, the
target file is moved to the directory, with the same file name. If the name of the
target file is the same with an existing file name, you are prompted whether the
existing file should be overwritten.