
Command Manual (For Soliton) – File System Management
H3C S3100 Series Ethernet Switches
Chapter 1 File System Management
Configuration Commands
1-12
1.1.11 move
Syntax
move
fileurl
-
source fileurl
-
dest
View
User view
Parameter
fileurl
-
source
: Name of the source file.
fileurl
-
dest
: Name of the target file.
Description
Use the
move
command to move a file to a specified directory.
If the target file name is the same as an existing file, the existing file will be overwritten
after the command is executed successfully.
If the path, rather than the name of the target file is specified, the source file name is
used as the target file name by default.
Example
# Move the file named 1.txt from unit1>flash:/ to unit1>flash:/a/, with the name
unchanged.
<Sysname>move unit1>flash:/1.txt unit1>flash:/a/
Move unit1>flash:/1.txt to unit1>flash:/a/1.txt?[Y/N]:y
.
%Moved file unit1>flash:/1.txt to unit1>flash:/a/1.txt.
# Move the file unit1>flash:/22.txt to unit1>flash:/test/, and overwrite the file in the
directory unit1>flash:/test.
<Sysname>move 22.txt unit1>flash:/test
Move unit1>flash:/22.txt to unit1>flash:/test/22.txt?[Y/N]:y
The file unit1>flash:/test/22.txt exists. Overwrite it?[Y/N]:y
The file will be permanently deleted from flash, please wait.
....
%Moved file unit1>flash:/22.txt to unit1>flash:/test/22.txt.
1.1.12 pwd
Syntax
pwd