beautypg.com

HP NonStop G-Series User Manual

Page 102

background image

Command Interpreter

HP AutoSYNC User’s Guide522580-016

8-10

ADD SYNCFILESET

OSS file set definition

The source and destination file sets must be specified with the absolute
pathname.

Wild-card characters are not supported; specify an absolute directory name or
an absolute file name.

If the source file set is a single file, the file is moved to the destination
specified. If the directory does not exist at the destination location, the directory
is created.

If the source file set is a directory tree, the following rules apply:

°

the full directory tree with all its subdirectories is synchronized.

°

if the directory tree does not exist at the destination location, the directory
is created.

°

if the source directory is empty or no files were selected for
synchronization, an empty directory is created.

Pathnames cannot exceed 128 bytes in length.

common-options

AUTOSUSPEND

specifies that the configured file set will execute once and then will
automatically be suspended. This is similar to a one-time synchronization,
except that the synchronization options are kept in the configured syncfilesets
and can be activated each time the user wants the synchronization to be
performed. Many AUTOSUSPEND synchronizations can be activated with a
single ACTIVATE BATCHID command.

INFO SYNCFileset command displays the last synchronization time.

This option is designed to facilitate the use of AutoSYNC with the batch
schedulers such as Netbatch.

BATCHID batchid

a batch identifier for the file set.

The batchid is an unsigned integer and can be specified as a number between
0 and 65535 or as two ASCII characters in quotes. The default batchid is 0.

All file sets that have the same batchid for a given user and destination system
are synchronized in sequence by a single ASYSYNC process.

To have more than one ASYSYNC process for the same destination system,
use different batchids.

EXCLUDE exclude-file

This manual is related to the following products: