R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

46
<Sysname> more testcfg.cfg
#
version 5.20, Beta 1201, Standard
#
sysname Sysname
#
vlan 2
#
return
<Sysname>
move
Syntax
move fileurl-source fileurl-dest
View
User view
Default level
3: Manage level
Parameters
fileurl-source: Name of the source file.
fileurl-dest: Name of the target file or folder.
Description
Use move to move a file.
If you specify a target folder, the system will move the source file to the specified folder, with the file name
unchanged.
You cannot move files between storage media of different types or between different partitions of a CF
card.
Examples
# Move file flash0:/test/sample.txt to flash0:/, and save it as 1.txt.
<Sysname> move test/sample.txt 1.txt
Move flash0:/test/sample.txt to flash0:/1.txt?[Y/N]:y
...
% Moved file flash0:/test/sample.txt to flash0:/1.txt
# Move file b.cfg to the subfolder test2.
<Sysname> move b.cfg test2
Move flash0:/b.cfg to flash0:/test2/b.cfg?[Y/N]:y
.
%Moved file flash0:/b.cfg to flash0:/test2/b.cfg.