2358
C
155: F
HAPTER
ILE
Example
pwd
Syntax
View
Parameter
Description
Example
rename
Syntax
View
Parameter
Description
Example
reset recycle-bin
Syntax
View
S
C
C
YSTEM
ONFIGURATION
OMMANDS
# Move the file cf:/test/sample.txt to cf:/sample.txt.
<Sysname> move cf:/test/sample.txt cf:/sample.txt
Move cf:/test/sample.txt to cf:/sample.txt ?[Y/N]:y
% Moved file cf:/test/sample.txt to cf:/sample.txt
pwd
User view
None
Use the
command to display the current path.
pwd
If the current path is not set, the operation will fail.
# Display the current path.
<Sysname> pwd
cf:
rename fileurl-source fileurl-dest
User view
fileurl-source: Name of the source file or directory.
fileurl-dest: Name of the target file or directory.
Use the
rename
The target file name must be unique under the current path.
# Rename the file sample.txt as sample.bak.
<Sysname> rename sample.txt sample.bak
Rename cf:/sample.txt to cf:/sample.bak?[Y/N]:y
% Renamed file cf:/sample.txt to cf:/sample.bak
reset recycle-bin [ /force ]
User view
command to rename a file or directory.