HP VPN Firewall Appliances System Management and Maintenance Command Reference
43
<Sysname> more test.txt
Welcome to HP.
# Display the contents of file testcfg.cfg.
<Sysname> more testcfg.cfg
#
version 5.20, Beta 1201, Standard
#
sysname Sysname
#
vlan 2
#
return
<Sysname>
move
Use move to move a file.
Syntax
move fileurl-source fileurl-dest
Views
User view
Default command level
3: Manage level
Parameters
fileurl-source: Name of the source file.
fileurl-dest: Name of the target file or folder.
Usage guidelines
If you specify a target folder, the system moves the source file to the specified folder, without changing the
file name.
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.