File System Management
104
7210 SAS-M, T, R6, R12, Mxp, Sx, S Basic System
Configuration Guide
3HE 16132 AAAB TQZZA Edition: 01
Parameters file-url — Specifies the URL or filename.
Values
none — Displays the current working directory.
.. — Specifies the parent directory. This can be used in place of an actual directory name
in a directory-url.
directory-url — Specifies the destination directory.
copy
Syntax copy source-file-url dest-file-url [force]
Context file
Supported
Platforms
Supported on all 7210 SAS platforms as described in this document, including those
operating in access-uplink mode
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 wild-card (*) 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)?”
file-url — local-url | remote-url
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 to FFFF (hexadecimal)
d — 0 to 255 (decimal)
interface — a string up to 32, for link local addresses
cflash-id or usb-flash-id — uf1: (7210 SAS-M)
cf1:, cf2:, uf1: (7210 SAS-T, 7210 SAS-Sx/S 1/10GE:
standalone and standalone-VC, 7210 SAS-Sx 10/
100GE, and 7210 SAS-Mxp)
cf2:, cf2-A:, cf2-B:, uf1:, uf1-A:, uf1-B: (7210 SAS-R6
and 7210 SAS-R12)
cf1:, cf2: (7210 SAS-Sx/S 1/10GE: standalone and
standalone-VC)