Delete; Dir - H3C WX Series Command Reference Manual

Hide thumbs Also See for WX Series:
Table of Contents

Advertisement

%Copy file flash:/test/1.cfg to flash:/testbackup/1backup.cfg...Done.

delete

Syntax
delete [ /unreserved ] file-url
View
User view
Default Level
3: Manage level
Parameters
/unreserved: Permanently deletes the specified file, and the deleted file can never be
restored.
file-url: Name of the file to be deleted. Asterisks (*) are acceptable as wildcards. For
example, to remove files with the extension of .txt in the current directory, you may use
the delete *.txt command.
Description
Use the delete command to move a specified file from a storage medium to the
recycle bin, where you can restore the file with the undelete command or permanently
delete it with the reset recycle-bin command.
The dir /all command can display the files moved to the recycle bin. These files are
enclosed in pairs of brackets.
CAUTION:
If you delete two files in different directories but with the same filename, only the last one is
retained in the recycle bin.
Examples
Remove file tt.cfg from the current directory.
<Sysname> delete tt.cfg
Delete flash:/tt.cfg? [Y/N]:y
.
%Delete file flash:/tt.cfg...Done.

dir

Syntax
dir [ /all ] [ file-url ]
103

Advertisement

Table of Contents
loading

Table of Contents