Page 82 7450 ESS OS Basic System Configuration Guide
A:nE1>file cf1:\ # rd hussein rf
Deleting all subdirectories and files in specified directory. y/n ?y
Deleting directory cf1:\hussein\hussein1 ..OK
Deleting directory cf1:\alcateltest .OK
Parameters file-url — The directory to be removed.
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:rf — The parameter forces a recursive delete.
force — Forces an immediate deletion of the specified directory.
For example, rd file-url force executes the command without displaying a user prompt message.
repair
Syntax repair [cflash-id]
Context file
Description This command checks a compact flash device for errors and repairs any errors found.
Parameters cflash-id — Specify the compact flash slot ID to be shut down or enabled. When a specific cflash-id is spec-
ified, then that drive is shutdown. If no cflash-id is specified, the drive referred to by the current work-
ing directory is assumed. If a slot number is not specified, then the active SF/CPMCFM is assumed.
Default The current compact flash device
Values cf1:, cf1-A:, cf1-B:, cf2:, cf2-A:, cf2-B:, cf3:, cf3-A:, cf3-B:
scp
Syntax scp local-file-url destination-file-url [router router-instance] [force]
Context file
Description This command copies a local file to a remote host file system. It uses ssh for data transfer, and uses the
same authentication and provides the same security as ssh. The following prompt appears:
“Are you sure (y/n)?” The destination must specify a user and a host.
Parameters local-file-url — The local source file or directory.
Values [cflash-id/][file-path]: Up to 256 characters.
destination-file-url — The destination file.
Values user@hostname:destination-file
user — The SSH user.
host — The remote host IP address of DNS name.