.. _section3.4.10: 3.4.10 - Archive Web Files ================================= .. _AW: 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. | **dsarch** [:ref:`-(DS|dataset) `] dNNNNNN -(AW|ArchiveWebFile) [:ref:`Mode Options `] | [:ref:`-(LF|LocalFile) ` LocalFileNames] | [:ref:`-(LD|LocalDirectory) ` LocalDirectoryName] | [:ref:`-(LL|LocalFileList) ` LocalFileListName] | [:ref:`-(WF|WebFile) ` webFileNames] | [:ref:`-(GI|GroupIndex) ` GroupIndices] | [:ref:`-(TG|TopGroupIndex) ` TopGroupIndices] | [:ref:`-(GN|GroupName) ` GroupNames] | [:ref:`-(PO|PatternOffset) ` PatternStringOffset] | [:ref:`-(WT|WebFileType) ` WebFileTypes] | [:ref:`-(FS|FileStatus) ` WebFileStatus] | [:ref:`-(FF|FileFlag) ` FilesOrPaths] | [:ref:`-(LC|Location) ` StorageLocationFlags] | [:ref:`-(DF|DataFormat) ` DataFormat] | [:ref:`-(AF|ArchiveFormat) ` FileArchiveFormat] | [:ref:`-(DO|DisplayOrder) ` DisplayOrderIndices] | [:ref:`-(SZ|Size) ` FileSizes] | [:ref:`-(MC|MD5Checksum) ` MD5ChecksumValues] | [:ref:`-(DE|Description) ` WebFileDescriptions] | [:ref:`-(VS|ValidSize) ` MinSizeForValidFile] | [:ref:`-(LN|LoginName) ` LoginAccountName] | [:ref:`-(AL|AsyncLimit) ` AsyncProcessLimit] | [:ref:`-(QS|QsubOptions) ` PBSBatchOptions] | [:ref:`-(BP|BatchProcess) ` [BatchControlInfo]] | [:ref:`-(DD|DeleteDir)
` DeleteLocalDirLevel] | [:ref:`-(DB|Debug) ` DebugModeInfo] Available mode options: .. list-table:: :widths: auto :header-rows: 0 * - :ref:`-(BG|BackGround) ` - runs in background; suppresses screen output and errors * - :ref:`-(CL|CleanLocal) ` - removes local files after all are successfully archived * - :ref:`-(EM|EMailNotice) ` - sends an email summary (including any errors) when the action completes or aborts * - :ref:`-(GX|GatherXML) ` - calls **gatherxml** to evaluate file content metadata directly from the local file * - :ref:`-(GZ|GMTZone) ` - uses GMT rather than local time for archiving timestamps * - :ref:`-(KP|KeepLocalPath) ` - uses local file paths as relative paths on the GDEX Server * - :ref:`-(MD|MyDataset) ` - allows any specialist to set GDEXDB information, regardless of dataset ownership * - :ref:`-(NE|NoEmail) ` - suppresses email notification on failure * - :ref:`-(NT|NoTrim) ` - skips trimming of spaces and comments from input values, speeding up input file processing * - :ref:`-(OE|OverrideExist) ` - overwrites existing Web files * - :ref:`-(RO|ResetOrder) ` - resets display order indices to match the order files are given per :ref:`-WF `. Alternatively, use :ref:`-ON ` (-OrderNames) to reorder all files in the dataset and affected groups * - :ref:`-(SC|SetChecksum) ` - computes MD5 checksums for files on the GDEX Server and saves them to GDEXDB * - :ref:`-(UZ|UnzipData) ` - decompresses files using 'gunzip', 'uncompress', 'unzip', or 'bunzip' according to the extension: '.gz', '.Z', '.zip', or '.bz2', respectively * - :ref:`-(XC|CrossCopy) ` - copies files from existing Web/Object storage to fill missing Object/Web copies, using GDEXDB records for guidance * - :ref:`-(XM|CrossMove) ` - moves files from existing Web/Object storage to fill missing Object/Web copies (originals are removed) * - :ref:`-(ZD|ZipData) ` - compresses files using 'gzip', 'compress', 'zip', or 'bzip' according to the archive format ('GZ', 'Z', 'ZIP', or 'BZ2') given via :ref:`-AF ` (-ArchiveFormat) Local file names are provided via :ref:`-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 :ref:`-LD ` (-LocalDirectory), files are gathered recursively from that tree. Local file names are used as Web file names by default unless :ref:`-WF ` (-WebFile) is given explicitly. Files are archived under the dataset home directory; use :ref:`-WP ` (-WebPath) or the path stored in GDEXDB to override. When :ref:`-KP ` (-KeepLocalPath) is specified, local file paths are used as-is and :ref:`-WP ` is not permitted. Assign files to a group via :ref:`-GI ` (-GroupIndex) or :ref:`-GN ` (-GroupName). If no group is specified, pattern matching against group patterns saved via :ref:`-SG ` is attempted when :ref:`-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 :ref:`Info options ` must match the number of local file names, except for options that accept a single shared value: :ref:`-GI `, :ref:`-DF `, :ref:`-AF `, :ref:`-WT ` (-WebFileType), and :ref:`-WP `. The storage location is set via :ref:`-LC ` (-Location). Defaults to 'G' (Glade Disk only). | :ref:`Back to Top ` | :ref:`Back to Table of Contents `