3.4.10 - Archive Web Files
Action Option -AW (-ArchiveWebFile) (Aliases: -ArchiveWeb, -ArchWeb, -ArchWebFile) :
(Alias: -ArchiveWeb|-ArchWeb|-ArchWebFile), copies local files to the GDEX Server as publicly accessible Web files and registers them in GDEXDB. One or more files may be archived per execution.
Available mode options:
runs in background; suppresses screen output and errors |
|
removes local files after all are successfully archived |
|
sends an email summary (including any errors) when the action completes or aborts |
|
calls gatherxml to evaluate file content metadata directly from the local file |
|
uses GMT rather than local time for archiving timestamps |
|
uses local file paths as relative paths on the GDEX Server |
|
allows any specialist to set GDEXDB information, regardless of dataset ownership |
|
suppresses email notification on failure |
|
skips trimming of spaces and comments from input values, speeding up input file processing |
|
overwrites existing Web files |
|
resets display order indices to match the order files are given per -WF. Alternatively, use -ON (-OrderNames) to reorder all files in the dataset and affected groups |
|
computes MD5 checksums for files on the GDEX Server and saves them to GDEXDB |
|
decompresses files using ‘gunzip’, ‘uncompress’, ‘unzip’, or ‘bunzip’ according to the extension: ‘.gz’, ‘.Z’, ‘.zip’, or ‘.bz2’, respectively |
|
copies files from existing Web/Object storage to fill missing Object/Web copies, using GDEXDB records for guidance |
|
moves files from existing Web/Object storage to fill missing Object/Web copies (originals are removed) |
|
compresses files using ‘gzip’, ‘compress’, ‘zip’, or ‘bzip’ according to the archive format (‘GZ’, ‘Z’, ‘ZIP’, or ‘BZ2’) given via -AF (-ArchiveFormat) |
Local file names are provided via -LF (-LocalFile). On the command line, ‘*’ and ‘?’ wildcards are supported. Files not in the current directory must include relative or absolute paths. If a directory is given via -LD (-LocalDirectory), files are gathered recursively from that tree.
Local file names are used as Web file names by default unless -WF (-WebFile) is given explicitly. Files are archived under the dataset home directory; use -WP (-WebPath) or the path stored in GDEXDB to override. When -KP (-KeepLocalPath) is specified, local file paths are used as-is and -WP is not permitted.
Assign files to a group via -GI (-GroupIndex) or -GN (-GroupName). If no group is specified, pattern matching against group patterns saved via -SG is attempted when -PO (-PatternOffset) is present or the file is not yet in GDEXDB. Unmatched files default to group index 0.
Web files may be archived as P (public) or I (internal) for data types D or N. Files assigned to an internal group are automatically set to I.
The number of values supplied to Info options must match the number of local file names, except for options that accept a single shared value: -GI, -DF, -AF, -WT (-WebFileType), and -WP.
The storage location is set via -LC (-Location). Defaults to ‘G’ (Glade Disk only).