Nortel 15000 用户指南

下载
页码 148
Managing and Troubleshooting the Versalar Switch Router 15000
2-12
302768-C Rev 00
Transferring a File to a Full Memory Card
If you attempt to transfer a file to a memory card that does not have enough space, 
the name of the file with a length of 0 bytes appears in the memory card’s 
directory. Before you transfer another file to the memory card, you must optimize 
the available space by completing the following steps:
1.
Delete all unnecessary files from the memory card using the 
rm 
command.
2.
Compact the file system using the 
compact
 command.
rm - Remove a File
To remove (delete) specified files, use the 
rm 
command. You can use the wildcard 
characters (
*
 and 
?)
 when issuing the 
rm 
command.  
To delete a file from the active volume, enter the following command:
rm 
<file_name>
To delete a file from a different volume, enter the following command:
rm 
<vol>
:
<file_name>
vol
 is the slot number of the volume containing the file.
file_name 
is the name of the file. 
Caution: 
You cannot recover a file after it is deleted. The 
rm 
command does 
not prompt you to verify a deletion.
Examples
rm alt.cfg
Deletes the alt.cfg file on the active volume
rm 9:l6_22.log
Deletes the l6_22.log file on volume 9
rm 9:*.log
Deletes all files with the .log file name extension on volume 9