Specifications
dir
Chapter 20
File Management Commands
584
Syntax
delete url
Defaults
None.
Access
Enabled.
Usage
You might want to copy the file to a TFTP server as a backup before
deleting the file.
Examples
The following commands copy file testconfig to a TFTP server and
delete the file from nonvolatile storage:
PROMPT# copy testconfig tftp://10.1.1.1/testconfig
success: sent 365 bytes in 0.401 seconds [ 910 bytes/sec]
success: copy complete.
PROMPT# delete testconfig
success: file deleted.
Examples
The following command deletes file dang_doc from subdirectory
dang:
PROMPT# delete dang/dang_doc
success: file deleted.
See Also
l copy on page 581
l dir on page 584
dir
Displays a list of the files in nonvolatile storage and temporary files.
url Filename. Specify between 1 and 128 alphanumeric
characters, with no spaces.
If the file is in a subdirectory, specify the subdirectory
name, followed by a forward slash, in front of the filename.
For example: subdir_a/file_a.