Qtech QSW-8200-52T-AC — руководство пользователя: Команды файловой системы [63/77]

Превью страниц Страница 63 / 77
Qtech QSW-8200-28T-AC [63/77] Delete
User Manual
Chapter 2. File System Commands 63
www.qtech.ru
To use this command, the designated source file should exist, and the destination file
should not be named the same as any existing directory or file, otherwise, there might
be a prompt warning about a failed copy operation or an attempt to overwrite an
existing file.
If the source and destination files are in different directories, with this command
implemented, users can copy files from other directories into the current one.
URL Example: The URL of files in root directory of Flash devices on it should be
flash:/nos.img.
Example: Copy the file “flash:/nos.img” and store it as “flash/ 6.1.11.0.img”.
Switch#copy flash:/nos.img flash:/nos-6.1.11.0.img
Copy flash:/nos.img to flash:/nos-6.1.11.0.img? [Y:N] y
Copyed file flash:/nos.img to flash:/nos-6.1.11.0.img.
2.3 delete
Command: delete <file-url>
Function: Delete the designate file on the storage device.
Parameters: <file-url> is the full path of the file to be deleted.
Command Mode: Admin Mode.
Default Settings: None.
Usage Guide: The designated file will be deleted after implementing this command.
Example: Delete file flash:/nos.img.
Switch#delete flash:/nos5.img
Delete file flash:/nos5.img?[Y:N]y
Deleted file flash:/nos.img.
2.4 dir
Command: dir [WORD]
Function: Display the information of the designated directory on the storage device.
Parameters: <WORD> is the name of the shown directory. There may be the following
formats: directory name, slot-xx#directory name, flash:/directory name, cf:/directory
name.
Command Mode: Admin Configuration Mode.
Default Settings: No <WORD> means to display information of the current working
directory.
Usage Guide: Implementing this command will display information of files and sub-
directories in the designated directory.
Note: This command does not support a recursive display of all sub-directories.
Example: Display information of the directory “flash:/”.
Switch#dir flash:/
nos.img 2,449,496 1980-01-01 00:01:06 ----

Изучите команды файловой системы для копирования, удаления и отображения информации о файлах и директориях. Узнайте, как управлять файлами на устройствах хранения.

Скачать