File Management Commands
delete
This command deletes files or directories.
Syntax
delete [force] [recursive] <url>
Parameter
force
recursive
<url>
Privileged Exec mode
Mode
To delete the file "temp.cfg" from the current directory, use the command:
Examples
To delete the read-only file "one.cfg" from the current directory, use the command:
To delete the directory "old_configs", which is not empty, use the command:
To delete the directory "new_configs", which is not empty, without prompting if any read-only
files are being deleted, use the command:
erase startup-config
Related Commands
rmdir
delete debug
Use this command to delete a specified debug output file.
Syntax
delete debug <source-url>
Parameter
<source-url>
Privileged Exec mode
Mode
To delete debug output, use the following command:
Examples
awplus#delete debug
Enter source file name []:
copy debug
Related Commands
move debug
7.12
Description
Ignore nonexistent filenames and never prompt before deletion.
Remove the contents of directories recursively.
URL of the file to delete. See
on page 7.3
awplus#delete temp.cfg
awplus#delete force one.cfg
awplus#delete recursive old_configs
awplus#delete force recursive new_configs
Description
The URL where the debug output originates. See
Keyword Usage" on page 7.3
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
"URL Syntax and Keyword Usage"
for valid URL syntax.
for valid URL syntax.
"URL Syntax and
C613-50007-01 REV B