7210 SAS M, T, X, R6 Basic System Configuration Guide Page 107
Configuration Commands
cd
Syntax cd [file-url]
Context file
Description This command displays or changes the current working directory in the local file system.
Parameters file-url — Syntax: [<local-url>|<remote-url> - [255 chars max]
local-url - [<cflash-id>/ |<usb-flash-id>/][<file-path>]
remote-url - [{ftp://|tftp://}<login>:<pswd>@
<remote-locn>/][<file-path>]
remote-locn - [ <hostname> | <ipv4-address> | "["<ipv6-address>"]" ]
ipv4-address - a.b.c.d
ipv6-address - x:x:x:x:x:x:x:x[-interface]
x:x:x:x:x:x:d.d.d.d[-interface]
x - [0..FFFF]H
d - [0..255]D
interface - 32 chars max, for link local addresses
cflash-id - cf1:, cf2:\ (only on 7210 SAS-T)
usb-flash-id - uf1:
<none> — Displays the current working directory.
.. — Signifies the parent directory. This can be used in place of an actual directory name in a
directory-url.
directory-url — The destination directory.
copy
Syntax copy source-file-url dest-file-url [force]
Context file
Description This command copies a file or all files in a directory from a source URL to a destination URL. At
least one of the specified URLs should be a local URL. The optional wildcard (*) can be used to copy
multiple files that share a common (partial) prefix and/or (partial) suffix.
When a file is copied to a destination with the same file name, the original file is overwritten by the
new file specified in the operation. The following prompt appears if the destination file already exists:
“Overwrite destination file (y/n)?”
For example:
To copy a file named
srcfile
in a directory called
test
on
cf1
to a file called
destfile
in a directory called
production
on
cf1
, the syntax is:
sr1>file
cf1
:\ # copy cf2-/test/srcfile/production/destfile