3Com 4500 50-PORT Switch User Manual


 
File System Management Commands 305
Move flash:/test/sample.txt to flash:/sample.txt.
<4500>move flash:/test/sample.txt flash:/sample.txt
Move unit1>flash:/test/sample.txt to unit1>flash:/sample.txt
?[confirm]:y
% Moved file unit1>flash:/test/sample.txt unit1>flash:/sample.txt
Display the directory after moving a file.
<4500>dir
Directory of unit1>flash:/
0 -rw- 2145718 Jul 12 2001 12:28:08 3Com.bin
1 drw- 0 Jul 12 2001 19:41:20 test
2 -rw- 50 Jul 12 2001 20:26:48 sample.txt
16125952 bytes total (13970432 bytes free)
<4500>dir flash:/test/
Directory of unit1>flash:/test/
0 drw- 0 Jul 12 2001 20:23:37 subdir
16125952 bytes total (13970432 bytes free)
pwd Syntax
pwd
View
User view
Parameter
None
Description
Use the pwd command to display the current path.
Example
Display the current path.
<4500>pwd
unit1>flash:
<4500>
rename Syntax
rename filepath-source filepath-dest
View
User view
Parameter
filepath-source: Source file name.
filepath-dest: Destination file name.
Description
Use the rename command to rename a file.