System information
General Reference Guide Export Block Descriptors
RG-001-0-EN ver 1.5 eWON® - 20/03/2009 - ©ACT'L sa Page 190
8.3.16 $dtTR [TAR file]
8.3.16.1 Export content
$dtTR exports the eWON file(s) inside a TAR formated file.
The data to include in the TAR file can be defined using a single file list, a directory and wildcard '*', or/and another export block descriptor's.
8.3.16.2 Detailed example
Put the complete /usr directory in the mytar.tar file.
Table 181: $dtTR - detailed example
8.3.16.3 Used Fields
8.3.16.3.1 $fn [output filename]
$fn is used to define a name for the output file.
example: $fnMyDataFile.tar will produce a TAR file with the name “MyDataFile.tar”.
8.3.16.3.2 $td [TAR data]
The data consists in a list of items separated by ',' (comma).
The items are specified between "{ }" (curly brackets).
$td {item1},{item2},...,{itemX}
Each item is one of these:
• A /usr file name (complete path to file)
• A /usr directory name (complete path to directory) followed by *
• An export block descriptor
If the path represents a directory followed by * then the whole tree is exported.
8.3.16.4 TAR format and eTAR modified format
The TAR file produced by the eWON could be :
- a standard TAR file, compliant to the USTAR (Uniform Standard Tape Archive) format.
- a modified TAR file, called eTAR.
Standard TAR file can be opened by most of Packager Program like Winzip, WinRar.
Due to technical reasons, the eWON produces an eTar format when the package holds file(s) belonging to the eWON root directory.
This eTAR file is viewed as a “corrupted file” by Packager Program. But, you can use our eTar.exe tools to reformat this eTAR as a valid TAR file.
You can find this eTar.exe program on the www.ewon.biz
website, on the Download Software page.
$dtTR $td {/usr/*} $fnmytar.tar
$dtTR Data type : TAR file
$td Data : {/usr/*} the complete /usr directory
$fn mytar.tar
Fields Value if not specified
Mandatory
$td Data
$fn File name
Optional
$ft B
Table 182: $dtRE - used fields