3com 8807 User Guide
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
790
C
HAPTER
68: F
ILE
S
YSTEM
M
ANAGEMENT
File 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
display the information about a specified file. You can use the following
commands to perform file operations.
file. Also, it can be used to display file contents, rename, copy and move a file and
display the information about a specified file. You can use the following
commands to perform file operations.
Perform the following configuration in user view.
c
CAUTION: When you use the delete command without the unreserved option
to delete a file, the file is in fact saved in the recycle bin and still occupies some of
the storage space. So, the frequent uses of this command may results in
insufficient storage space of the switch. In this case, you should find out the
unused files kept in the recycle bin and permanently delete them with the reset
recycle-bin command to reclaim the storage space.
to delete a file, the file is in fact saved in the recycle bin and still occupies some of
the storage space. So, the frequent uses of this command may results in
insufficient storage space of the switch. In this case, you should find out the
unused files kept in the recycle bin and permanently delete them with the reset
recycle-bin command to reclaim the storage space.
n
The directory and file names on the switch have the following limitation:
■
The maximum length of a directory or file name is 64 characters.
■
The maximum length of a full path name (containing the device name, single
directory name and file name) is 136 characters.
directory name and file name) is 136 characters.
■
The move command takes effect only when the source and destination files
are in the same device.
are in the same device.
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.
following commands to format a specified memory device.
Switch supports compact flash (CF) card. After a CF card is inserted successfully,
you can use such common commands as dir, cd, copy, delete, move to perform
operations on the files in the card. You can also stop the CF card through a
command before dismounting it.
you can use such common commands as dir, cd, copy, delete, move to perform
operations on the files in the card. You can also stop the CF card through a
command before dismounting it.
Display the current working directory
pwd
Display the information about directories or files
dir [ / all ] [ file-url ]
Change the current directory
cd directory
Table 740 Directory operation
Operation Command
Table 741 File operation
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 ]
Execute the specified batch file (system view)
execute filename