H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – File System Management
H3C S7500 Series Ethernet Switches Chapter 1
File System Management Commands
1-11
Description
Use the pwd command to display the current path.
Examples
# Display the current path.
<H3C> pwd
flash:
1.1.13 rename
Syntax
rename fileurl-source fileurl-dest
View
User view
Parameters
fileurl-source: File name of the file to be renamed.
fileurl-dest: Target file name.
Description
Use the rename command to rename a file.
If the target file name or directory name is the same as that of any existing file or name,
you will fail to rename the file.
Examples
# Display the information about the files in the current directory.
<H3C> dir
Directory of flash:/
0 -rw- 4 Mar 09 2006 13:59:19 snmpboots
1 -rw- 16215134 Apr 04 2006 16:36:20 S7500.app
2 -rw- 553 Jan 21 2006 17:05:55 diaginfo.txt
3 -rw- 3906 Apr 04 2006 17:23:54 config.cfg
4 drw- - Apr 05 2006 10:53:23 hello
5 drw- - Apr 10 2005 19:07:59 dd
6 -rw- 11779 Apr 05 2006 10:23:03 test2.bak
7 -rw- 11779 Apr 05 2006 11:30:13 tt.txt
8 drw- - Jan 25 2005 11:08:59 backup
31877 KB total (15935 KB free)