F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100
44
You cannot move files between storage media of different types or between different partitions of a CF
card.
Examples
# Move file cfa0:/test/sample.txt to cfa0:/, and save it as 1.txt.
<Sysname> move test/sample.txt 1.txt
Move cfa0:/test/sample.txt to cfa0:/1.txt?[Y/N]:y
...
% Moved file cfa0:/test/sample.txt to cfa0:/1.txt
# Move file b.cfg to the subfolder test2.
<Sysname> move b.cfg test2
Move cfa0:/b.cfg to cfa0:/test2/b.cfg?[Y/N]:y
.
%Moved file cfa0:/b.cfg to cfa0:/test2/b.cfg.
pwd
Use pwd to display the current path.
Syntax
pwd
Views
User view
Default command level
3: Manage level
Examples
# Display the current path.
<Sysname> pwd
cfa0:
rename
Use rename to rename a file or folder. The target file name must be unique in the current path.
Syntax
rename fileurl-source fileurl-dest
Views
User view
Default command level
3: Manage level
Parameters
fileurl-source: Name of the source file or folder.
fileurl-dest: Name of the target file or folder.