beautypg.com

Delete – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 165

background image

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