Delete Page 117
Page 117
File System Commands
XSR CLI Reference Guide 3-111
Mode
Privileged EXEC:
XSR#
Example
XSR#copy startup-config tftp://192.168.1.100/cfg.txt
Sample Output
XSR#copy startup-config tftp://192.168.1.100/abc.cfg
Copy 'startup-config' from Flash to server
as 'abc.cfg'(y/n) ? y
Upload to server done
File size: 2997 bytes
delete
This command removes a file from the XSR file system. It initiates a script requiring confirmation
of your intention.
Syntax
delete [flash: | cflash:] filename
Mode
Privileged EXEC:
XSR#
Sample Output
XSR#delete startup-config
Delete filename [startup-config] y
Delete flash:y? [confirm] n
Delete of flash aborted
dir
This commands lists files in the Flash or CompactFlash directory.
Syntax
XSR#dir [flash: | cflash:]
flash:
Flash memory directory.
cflash:
CompactFlash memory directory.
filename
Name of the file to be deleted.
flash:
Flash memory directory.
cflash:
CompactFlash memory directory.