
Command Manual – File System Management
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 File System Management Configuration
Commands
Huawei Technologies Proprietary
1-17
Parameter
fileurl
-
source
: Path name or file name of a file in the Flash.
fileurl
-
dest
: Path name or a file name.
Description
Use the
rename
command to rename a file or a directory.
If the target file name or directory name is the same with any existing file name or
directory name, you will fail to rename a file.
Example
# Rename the file named sample.txt as sample.bak.
<Quidway> rename sample.txt sample.bak
Rename flash:/sample.txt to flash:/sample.bak ?[Y/N]:y
% Renamed file flash:/sample.txt to flash:/sample.bak
1.2.14 reset recycle-bin
Syntax
reset
recycle-bin
[
file
-
url
] [ /
force
]
reset
recycle-bin
[ /
fabric
]
View
User view
Parameter
file
-
url
: Path name or file name of a file in the Flash. This argument supports the
wildcard “*”.
/
force
: Does not prompt for confirmation before deleting files.
/
fabric
: Clear the recycle bins of all Flash memories in the fabric.
Description
Use the
reset recycle-bin
command to clear the recycle bin in the Flash.
The files deleted using the
delete
command are actually moved to the recycle bin. To
delete them completely, you can use the
reset recycle-bin
command.
Note:
The system will not prompt you to confirm deletion of each file when you clear recycle
bins throughout the fabric.