CGET Command

HSI Version:

All

Purpose:

Conditionally retrieves a copy of a file from HPSS to your local file space on the host system only if a local copy does not already exist.

Aliases:  

Command Format:

cget[] [-B | -b] [-h] [-P | -p] [-R | -r] [-U | -u]  path ...

Options:

-B | -b : backup option. Renames any existing local file by appending "~"

-R : recursively fetch directories

-h : symlink option. If specified, create local symlink if HPSS symlink. If not set, reads through HPSS symlinks when copying files to local filesystem

-P | -p : preserve timestamp. Attempts to copy local file's timestamp to HPSS file

-U | -u : update option. Only copy file to HPSS if local file timestamp is newer

-h : symlink option. If specified, create symlink in HPSS if local symlink. If not set, reads through local symlinks when copying files to HPSS

Keywords:

BACKUP DIRn

Usage Notes:

The -R keyword can be used to recursively retrieve directory trees from HPSS, creating local subdirectories as needed.

Example:

cget -R someFiles Project

Related Command(s):

FIND, GET, CPUT, PUT