2358 CHAPTER 155: FILE SYSTEM CONFIGURATION COMMANDS
Example # 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
Syntax pwd
View User view
Parameter None
Description Use the pwd command to display the current path.
If the current path is not set, the operation will fail.
Example # Display the current path.
<Sysname> pwd
cf:
rename
Syntax rename fileurl-source fileurl-dest
View User view
Parameter fileurl-source: Name of the source file or directory.
fileurl-dest: Name of the target file or directory.
Description Use the rename command to rename a file or directory.
The target file name must be unique under the current path.
Example # 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
Syntax reset recycle-b in [ /force ]
View User view