File information may be in distinct fields, or it may be kept in one “asset reference field” that is in a binary format. When the information is in distinct fields, you can write an import command that puts those values into the new file table directly. For example, the
-T and
-C flags put the appropriate values in the
type and
creator columns in the file table. If the information is in a single “asset reference” field, then the
-n flag needs to be part of the import command. This option will extract all file information from the asset field and put it into the appropriate fields in the new file table.
Previews for the Cumulus files are in a proprietary hex format. Using a -e option in the
import command will extract the preview, convert it to binary, and place it in the appropriate tables within Xinet. Previews can become small previews or large previews in Xinet or even FPOs. For example, the flag
-esmallweb would put the preview for each file into the
smallwebdata table.
Full path information is usually part of the asset reference field. If you use the
-n flag, the
import program will be aware that the path is part of this field. You can use the
-b flag to construct the path, using the field number to stand for the full path to the file. For example, if the field with the asset references were
field 15, the argument would look like:
-b"%15%". The import program would extract the full path from the
asset reference field and put in place of the
"%15%".
Field 15 the path name (could require a
m to specify format of path)
-g4578706F7274 The data starts after the string
Export.
-nAssetReference This will get the full path and make it available to the
import program as
"%20%" (the 20th field)
-ePreview This will read in the preview exported in the file.
-MNotes Will merge together all the fields starting with the 22nd field.
-b Will use the path to the file extracted from the
AssetReference field. The
m converts Macintosh format paths to the Unix format.