EasyManua.ls Logo

Huawei Quidway S6500 Series - Rename

Huawei Quidway S6500 Series
845 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command Manual - System Management
Quidway S6500 Series Ethernet Switches Chapter 1 File System Management Commands
Huawei Technologies Proprietary
1-9
Error may occur without setting the current path.
Example
# Display the current path.
<Quidway> pwd
flash:
1.1.13 rename
Syntax
rename fileurl-source fileurl-dest
View
User view
Parameter
fileurl-source: Source file name.
fileurl-dest: Destination file name.
Description
Using rename command, you can rename a file.
If the destination file name is the same as an existing directory name or file name,
operation fails and prompt “Duplicate file name or file in use”.
Example
# Display the current directory information.
<Quidway> dir
Directory of flash:/
0 -rw- 412757 Sep 26 2005 14:49:24 vrpcfg.cfg
8 -rw- 248 Sep 26 2005 10:01:16 sample.txt
31877 KB total (1148 KB free)
# Rename the file sample.txt with sample.bak.
<Quidway> rename sample.txt sample.bak
Rename unit1>flash:/sample.txt to unit1>flash:/sample.bak ?[Y/N]:y
%Renamed file unit1>flash:/sample.txt to unit1>flash:/sample.bak
# Display the directory after renaming sample.txt with sample.bak.
<Quidway> dir

Table of Contents

Other manuals for Huawei Quidway S6500 Series

Related product manuals