Command Manual - System Management
Quidway S3500 Series Ethernet Switches
Chapter 1 File System Management Commands
Huawei Technologies Proprietary
1-7
fileurl-dest
: Destination file name.
Description
Using
move
command, you can move files.
When the destination filename is the same as that of an existing file, the system will ask
whether to overwrite it.
Example
# Display the current directory information.
<Quidway> dir
Directory of flash:/
drwxrwxrwx 1 noone nogroup - Jun 22 2002 02:19:16 shit
-rwxrwxrwx 1 noone nogroup 971 Jun 30 2003 11:45:19 vrpcfg.txt
-rwxrwxrwx 1 noone nogroup 4 Aug 27 2003 16:56:56 snmpboots
-rwxrwxrwx 1 noone nogroup 2957562 Sep 20 2003 10:49:57 QX-S5516-VRP31
0-0030.app
drwxrwxrwx 1 noone nogroup - Sep 20 2003 14:27:58 test
<Quidway> dir flash:/test/
Directory of flash:/test/
drwxrwxrwx 1 noone nogroup - Sep 20 2003 14:36:11 dd
-rwxrwxrwx 1 noone nogroup 971 Sep 20 2003 14:40:05 sample.txt
7932928 bytes total (4963328 bytes free)
# Move flash:/test/sample.txt to flash:/sample.txt.
<Quidway> move flash:/test/sample.txt flash:/sample.txt
Move flash:/test/sample.txt to flash:/sample.txt ?[Y/N]:y
% Moved file flash:/test/sample.txt to flash:/sample.txt
# Display the directory after moving a file.
<Quidway> dir
Directory of flash:/
drwxrwxrwx 1 noone nogroup - Jun 22 2002 02:19:16 shit
-rwxrwxrwx 1 noone nogroup 971 Jun 30 2003 11:45:19 vrpcfg.txt
-rwxrwxrwx 1 noone nogroup 4 Aug 27 2003 16:56:56 snmpboots
-rwxrwxrwx 1 noone nogroup 2957562 Sep 20 2003 10:49:57 QX-S5516-VRP31
0-0030.app
drwxrwxrwx 1 noone nogroup - Sep 20 2003 14:27:58 test
-rwxrwxrwx 1 noone nogroup 971 Sep 20 2003 14:41:44 sample.txt
7932928 bytes total (4963328 bytes free)
<Quidway> dir flash:/test/
Directory of flash:/test/
drwxrwxrwx 1 noone nogroup - Sep 20 2003 14:36:11 dd
7932928 bytes total (4963328 bytes free)