3Com Switch 7750 Configuration Guide

File System Configuration 793
c
CAUTION:
For deleted files whose names are the same, only the latest deleted file can be
restored.
The files which are deleted using the delete command with the /unreserved
keyword not specified are actually moved to the recycle bin and thus still take
storage space. You can clear the recycle bin to make room for other files by
using the reset recycle-bin command.
In the output information of the dir /all command, deleted files (that is, those
in the recycle bin) are embraced in brackets.
If the configuration files are deleted, the switch adopts the default
configuration parameters when it starts the next time.
The execute command cannot be executed recursively.
Storage Device-Related
Operations
With the file system, you can format a storage device, such as the Flash or a CF
module. Note that the format operation leads to the loss of all files on the storage
device and is irretrievable. For memory spaces that are unavailable due to
unexpected errors, you can use the fixdisk command to restore them.
Table 629 File-related operations
Operation Command Description
Delete a file delete [/unreserved ] file-url Optional
A deleted file can be restored if
you delete it by executing the
delete command with the
/unreserved keyword not
specified. You can use the
undelete command to restore a
deleted file of this kind.
Restore a deleted file undelete file-url Optional
This operation can only restore the
files deleted with the /unreserved
keyword not specified.
Delete a file in the
recycle bin
reset recycle-bin [ file-url ]
[/force ]
Optional
Rename a file rename fileurl-source fileurl-dest Optional
Copy a file copy fileurl-source fileurl-dest Optional
Move a file move fileurl-source fileurl-dest Optional
Display the content of
a file
more file-url Optional
Currently, the file system only
supports displaying the contents
of a file in texts.
Display the
information about a
directory or a file
dir [/all ] [ file-url ] Optional
Enter system view system-view -
Execute a batch file execute filename [ echo on ] Optional