3.4.4 - Get Web File Information
Action Option -GW (-GetWebFile) (Alias: -GetWeb) :
retrieves Web file records from GDEXDB for the specified dataset, optionally filtered by file name.
Available mode options:
formats each column to a uniform fixed width |
|
gathers files in subgroups recursively for a given group index |
|
returns file names with paths relative to the Web path of the dataset or group |
Use -FN (-FieldNames) to specify which Web file fields to retrieve. Defaults to ‘FINMTHS’. Use -FN ALL for all available fields.
Valid Web file field names and their corresponding Info options:
Names |
Descriptions |
|
|---|---|---|
F |
Web file names with relative paths |
|
T |
Web file archiving types |
|
C |
Web file MD5 Checksum |
|
I |
group indices for Web files |
|
X |
top group indices for Web files |
|
V |
Version control index |
|
M |
file archive formats |
|
N |
data content formats |
|
O |
display order indices |
|
B |
Quasar backup file names |
|
Q |
Quasar backup file types |
|
L |
Web file storage location flag |
|
H |
Web file archiving status |
|
P |
File type flag, File or Path |
|
S |
Web file sizes |
|
J |
date data last modified on |
|
K |
time data last modified at |
|
A |
a link to content meta at the file level |
|
E |
a link to Thredd Catalog page at the file level |
|
D |
Web file descriptions |
A dataset number is required unless Web file names are provided. If file names match multiple datasets and no dataset number is given, an error prompts the specialist to specify one and rerun. Incomplete file paths are expanded relative to the dataset Web Home Directory.
Results can be filtered by archive type (-WT), group (-GI or -GN), and description (-DE). The -WF, -GN, and -DE options accept the ‘%’ wildcard.
EXAMPLE 10. To retrieve the default Web file fields for d540000, filtered to Data type and file names containing ‘200’:
Content of the output:
Dataset<=>d540000
WebFile<:>GroupIndex<:>DataFormat<:>ArchiveFormat<:>WebFileType<:>Size<:>
IMMA_2.4_1998_2000.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>1283094016<:>
IMMA_2.4_2001_2002.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>1006424064<:>
IMMA_2.4_2003_2004.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>1149672960<:>
IMMA_2.4_2005.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>951742976<:>
IMMA_2.4_2006.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>1119821824<:>
IMMA_2.4_2007.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>656820224<:>