ZXR10 GER (V2.6.03) General Excellent Router User Manual Volume-I
66 Confidential and Proprietary Information of ZTE CORPORATION
7. To delete a directory in flash, use rmdir <directory-name>
command,as shown in
Table 59.
TABLE 59 RM DIR COMMAND WINDOW
Command
Format
Command
Mode
Command Function
rmdir
<directory-
name>
Exec This deletes directory in flash
Result: This deletes a designated directory in flash.
8. To modify name of directory in flash, use rename
<oldname> <newname> command, as shown in
Table 60.
TABLE 60 RMDIR COMMAND WINDOW
Command
Format
Command
Mode
Command Function
rename
<oldname>
<newname>
Exec
This modifies the name of a
designated file or directory in
flash
<oldname> <newname> represents 1-80 characters.
Result: This renames designated file or directory in flash.
E
ND OF STEPS
View of current file information.
Create directory and then removing.
Example
ZXR10#dir
Directory of flash:/
attribute size date time name
1 drwx 512 MAY-17-2004 14:22:10 IMG
2 drwx 512 MAY-17-2004 14:38:22 CFG
3 drwx 512 MAY-17-2004 14:38:22 DATA
65007616 bytes total (48863232 bytes free)
ZXR10#cd img (Enter the directory img)
ZXR10#dir (Show the current directory information)
Directory of flash:/img
attribute size date time name
1 drwx 512 MAY-17-2004 14:22:10 .
2 drwx 512 MAY-17-2004 14:22:10 ..
3 -rwx 15922273 MAY-17-2004 14:29:18 ZXUAS.ZAR
65007616 bytes total (48863232 bytes free)
ZXR10#