NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

This page is a work in progress.

The following command ...Recursively copy command recursively copies all files in the <source-path> to the archive's <destination-path>.Metadata  Metadata can be provided for every directory and file in a specific metadata file called <[directory,filename]>.metadata.json. The metadata file should exist in the same path in its corresponding directory/file. For example, the metatadata for the file foo.txt should be foo.txt.metadata.json.

Code Block
dm_register_directory [OPTIONS] <source-path> <destination-path>

The following table describes each option:

OptionDescription
-a
The type of the archive. Valid options are "S3" and "POSIX".
-c
Turn off checksum calculation.
-dPrint the files to be included in registration an exit
-eExclude the files that match the patterns specified in the file EXCLUDE_FILE_PATH
-hPrint
this
a usage message
-iInclude the files that match at least one of the patterns specified in INCLUDE_FILE_PATH
-lRegister the files mentioned in the FILE_LIST only. Each line in the FILES_LIST file contains a relative path to the source-path. All collections should be registered before using this option.
-mRegister metadata only. Do not register files.
-sSkip confirmation prompt and register directly
-tThe number of threads to use while uploading files to cleversafe. This number should be between [1, 32].

The following table describes each parameter:

...