D-Link DGS-1510/ME Series Reference Manual page 248

Table of Contents

Advertisement

DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide
Restrictions
Only Administrators and Operators can issue this command.
Example
To rename a file:
DGS-1510-28XMP/ME:admin# rename run.had run1.had
Command: rename run.had run1.had
Success.
DGS-1510-28XMP/ME:admin#
29-7
del
Description
This command is used to delete a file, either physically or softly. It is also used to delete a directory and its
contents. If two files with the same name under the same directory are softly deleted sequentially, only the last one
will exist. Deleting, copying, renaming or moving the already softly deleted file is not acceptable.
System will prompt if the target file is a FW or configuration whose type is bootup.
Format
del {<drive_id>} <pathname> {recursive}
Parameters
<drive_id> - (Optional) Enter the drive ID used, for example, C:.
<pathname>- Enter the file or directory to be deleted. If it is specified in the associated form, then it is related to
the current directory.
recursive - (Optional) Specifies to delete a directory and its contents even if the directory is not empty.
Restrictions
Only Administrators and Operators can issue this command.
Example
Delete a directory with parameter "recursive":
244

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents