| CP Command |
|
2.7 | |
| 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") |
|
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 file2Create a copy of an existing file (file.old) in Class of Service 22: cp cos=22 file.old file.new |
|
Related Command(s): |