440 CHAPTER 22: F ILE SYSTEM MANAGEMENTFile Operation The file system can be used to delete or undelete a file and permanently delete a file.Also, it can be used to display file contents, rename, copy and move a file and displaythe information about a specified file.Using the delete file-url command to delete a file, leaves the contents of the fileon the flash file system and does not free flash space. The file can be recovered usingthe undelete command. To delete a file and free space on the flash file system usethe delete /unreserved file-url command. Using this command will ensure thatspace is made available on the flash file system for additional information. To ensurethat all deleted files have been removed from the system use the reset recycle-bincommand, 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 theflash of each switch in the stack separately and then clear space in the file system ofeach switch in turn. Use the cd directory command for changing focus to adifferent switches file system or the unit2>flash: device name parameter for thecommand "reset recycle".You can use the following commands to perform file operations.Perform the following configuration in User View.Table 474 File OperationPerform the following configuration in System View.Table 475 Execute the Specified Batch FileStorage DeviceOperationThe file system can be used to format a specified memory device. You can use thefollowing commands to format a specified memory device.Perform the following configuration in User View.Table 476 Storage Device OperationOperation CommandUpdate the software on the whole fabric update fabric file-nameDelete a file delete [ /unreserved ] file-urlUndelete a file undelete file-urlDelete a file from the recycle bin permanently reset recycle-bin file-urlView contents of a file more file-urlRename a file rename fileurl-source fileurl-destCopy a file copy fileurl-source fileurl-destMove a file move fileurl-source fileurl-destDisplay the information about directories or files dir [ / all ] [ file-url ✽Operation CommandExecute the specified batch file execute filenameOperation CommandFormat the storage device format filesystem