228 CHAPTER 12: FILE SYSTEM MANAGEMENT
system use the delete /unreserved file-url command. Using this command
will ensure that space is made available on the flash file system for additional
information. To ensure that all deleted files have been removed from the system
use the
reset recycle-bin command, this will prompt for removal of all files in
the file system.
When operating in a stack of switches to clear space the user has to change to the
flash of each switch in the stack separately and then clear space in the file system
of each switch in turn. Use the
cd directory command for changing focus to a
different switches file system or the
unit2>flash: device name parameter for
the command "reset recycle".
You can use the following commands to perform file operations.
Perform the following configuration in User View.
Table 241 File Operation
Perform the following configuration in System View.
Table 242 Execute the Specified Batch File
Storage Device
Operation
The file system can be used to format a specified memory device. You can use the
following commands to format a specified memory device.
Perform the following configuration in User View.
Table 243 Storage Device Operation
Setting the Prompt
Mode of the File System
The following command can be used for setting the prompt mode of the current
file system.
Perform the following configuration in System View.
Operation Command
Delete a file delete [ /unreserved ] file-url
Undelete a file undelete file-url
Delete a file from the recycle bin permanently reset recycle-bin file-url
View contents of a file more file-url
Rename a file rename fileurl-source
fileurl-dest
Copy a file copy fileurl-source fileurl-dest
Move a file move fileurl-source fileurl-dest
Display the information about directories or files dir [ / all ] [ file-url ✽
Operation Command
Execute the specified batch file execute filename
Operation Command
Format the storage device format filesystem