File System Commands
XSR CLI Reference Guide 3-111
Mode
PrivilegedEXEC: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 <file>

ThiscommandremovesafilefromtheXSRfilesystem.Itinitiatesascriptrequiringconfirmation
ofyourintention.
Syntax
delete [flash: | cflash:] filename
Mode
PrivilegedEXEC:XSR#
Sample Output
XSR#delete startup-config
Delete filename [startup-config] y
Delete flash:y? [confirm] n
Delete of flash aborted

dir

ThiscommandslistsfilesintheFlashorCompactFlashdirectory.
Syntax
XSR#dir [flash: | cflash:]
flash: Flashmemorydirectory.
cflash: CompactFlashmemorydirectory.
filename Nameofthefiletobedeleted.
flash: Flashmemorydirectory.
cflash: CompactFlashmemorydirectory.