Delete - Cisco Catalyst 3750 Command Reference Manual

Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Chapter 2
Catalyst 3750 Switch Cisco IOS Commands

delete

Use the delete privileged EXEC command on the switch stack or on a standalone switch to delete a file
or directory on the flash memory device.
Syntax Description
/force
/recursive
filesystem:
/file-url
Command Modes
Privileged EXEC
Command History
Release
12.1(11)AX
Usage Guidelines
If you use the /force keyword, you are prompted once at the beginning of the deletion process to confirm
the deletion.
If you use the /recursive keyword without the /force keyword, you are prompted to confirm the deletion
of every file.
The prompting behavior depends on the setting of the file prompt global configuration command. By
default, the switch prompts for confirmation on destructive file operations. For more information about
this command, refer to the Cisco IOS Command Reference for Release 12.1.
Examples
This example shows how to remove the directory that contains the old software image after a successful
download of a new image:
Switch# delete /force /recursive flash:/old-image
You can verify that the directory was removed by entering the dir filesystem: privileged EXEC
command.
78-16181-01
delete [/force] [/recursive] filesystem:/file-url
(Optional) Suppress the prompt that confirms the deletion.
(Optional) Delete the named directory and all subdirectories and the files contained in
it.
Alias for a flash file system.
The syntax for the local flash file system on the stack member or the stack master:
flash:
From the stack master, the syntax for the local flash file system on a stack member:
flash member number:
The path (directory) and filename to delete.
Modification
This command was introduced.
Catalyst 3750 Switch Command Reference
delete
2-63

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents