7450 ESS OS Basic System Configuration Guide Page 81
move
Syntax move old-file-url new-file-url [force]
Context file
Description This command moves a local file, system file, or a directory. If the target already exists, the command fails
and an error message displays.
The following prompt appears if the destination file already exists:
“Overwrite destination file (y/n)?”
Parameters old-file-url — The file or directory to be moved.
Values local-url | remote-url: 255 chars max
local-url:[cflash-id/][file-path]
remote-url [ftp://login:pswd@remote-locn/][file-path]
cf1:, cf1-A:,cf1-B:,cf2:,cf2-A:,cf2-B:,cf3:,cf3-A:,cf3-B:
new-file-url — The new destination to place the old-file-url.
Values local-url | remote-url: 255 chars max
local-url:[cflash-id/][file-path]
remote-url [ftp://login:pswd@remote-locn/][file-path]
cf1:, cf1-A:,cf1-B:,cf2:,cf2-A:,cf2-B:,cf3:,cf3-A:,cf3-B:
force — Forces an immediate move of the specified file(s).
file move force executes the command without displaying a user prompt message.
rd
Syntax rd file-url rf
rd file-url [force]
Context file
Description The rd command is used to delete a directory.
If a directory has files and no sub-directories, the force option must be used to force delete the directory and
files it contains.
If a directory has sub-directories, then the force option will fail and the rf parameter should be used instead
to force delete that directory including the sub-directories.
Example:
A:nE1>file cf1:\ # rd alcateltest
Are you sure (y/n)? y
Deleting directory cf1:\alcateltest ..MINOR: CLI Cannot delete cf1:\alcateltest.
A:nE1>file cf1:\ # rd alcateltest force
Deleting directory cf1:\alcateltest .MINOR: CLI Cannot delete cf1:\alcateltest.