|
HSI Version: |
All |
|
Purpose: |
To copy an HPSS-resident file to another HPSS-resident file |
|
Aliases: |
COPY |
|
Command Format: |
{cp | copy} [-B] [-C] [ -f ] [ -h ] [ -i ] [-m method] [-n days]
[ -p ] [ -r | -R ] [-S] [ -x which] SourceDirectory ... TargetDirectory |
|
Options: |
-B : create backup of target file by renaming if it exists (same as "backup=on") (**Deferred for future implementation) whether firewall-type I/O should be used when reading ("source") files, writing files ("sink") or both ("both"). One scenario where this is useful is copying files between HPSS systems, when one or the other HPSS systems lives behind a firewall.
|
|
Keywords: |
DIRn, Class of Service (COS) |
|
Usage Notes: |
In the second form, each file is copied to the subdirectory using the same filename as the original. |
|
Example: |
Create a copy of an existing file (file1): cp file1 file2 Create a copy of an existing file (file.old) in Class of Service 22: cp cos=22 file.old file.new |
|
Related Command(s): |