HP A7500 Series Command Reference Manual page 87

Fundamentals
Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

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 file-url command to temporarily delete a file. The deleted file is saved in the recycle bin.
To restore it, use the undelete command.
Use the dir /all command to display the files deleted from the directory and moved to the recycle bin.
These files are enclosed in pairs of brackets [ ].
Use the reset recycle-bin command to remove the files from the recycle bin.
Use the delete /unreserved file-url command to permanently delete a file, and the deleted file cannot be
restored. Use it with caution.
CAUTION:
If you delete two files with the same filename in different directories, only the last one is retained in the
recycle bin.
Examples
In standalone mode
1.
# Remove file tt.cfg from the root directory of the storage medium on the active MPU.
<Sysname> delete tt.cfg
Delete flash:/tt.cfg? [Y/N]:y
%Delete file flash:/tt.cfg...Done.
# Remove file tt.cfg from the root directory of the storage medium on the standby MPU (in slot 1).
Approach 1
<Sysname> delete slot1#flash:/tt.cfg
Delete slot1#flash:/hmr.cfg?[Y/N]:y
%Delete file slot1#flash:/tt.cfg...Done.
Approach 2
<Sysname> cd slot1#flash:/
<Sysname> delete tt.cfg
Delete slot1#flash:/tt.cfg?[Y/N]:y
%Delete file slot1#flash:/tt.cfg...Done.
In IRF mode
2.
# Remove file tt.cfg from the root directory of the storage medium on the active MPU of the IRF fabric.
<Sysname> delete tt.cfg
.
80

Advertisement

Table of Contents
loading

Table of Contents