
File Management Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A AlliedWare Plus
TM
Operating System - Version 5.4.4C 7.19
delete
This command deletes files or directories.
Syntax delete [force] [recursive] <url>
Mode Privileged Exec
Examples To delete the file temp.cfg from the current directory, use the command:
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:
Related Commands erase startup-config
rmdir
Parameter Description
force Ignore nonexistent filenames and never prompt before deletion.
recursive Remove the contents of directories recursively.
<url> URL of the file to delete. See “URL Syntax and Keyword Usage” on
page 7.3 for valid URL syntax.
awplus#
delete temp.cfg
awplus#
delete force one.cfg
awplus#
delete recursive old_configs
awplus#
delete force recursive new_configs
Commenti su questo manuale