Switch 7700 Command reference Guide, v2.0

Table Of Contents
File System Management Commands 411
Move flash:/test/sample.txt to flash:/sample.txt.
<SW7700>move flash:/test/sample.txt flash:/sample.txt
Move flash:/test/sample.txt to flash:/sample.txt ?[confirm]:y
% Moved file flash:/test/sample.txt flash:/sample.txt
Display the directory after moving a file.
<SW7700>dir
Directory of *
0 -rw- 2145718 Jul 12 2001 12:28:08 vrp.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)
<SW7700>dir flash:/test/
Directory of 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
Using the pwd command, you can display the current path.
Error may occur without setting the current path.
Example
Display the current path.
<SW7700>pwd
flash:
rename Syntax
rename fileurl-source fileurl-dest
View
User view
Parameter
fileurl-source: Source file name.
fileurl-dest: Destination file name.
Description
Using the rename command, you can rename a file.