05.01.2013 Views

eWON General Reference Guide - eWON wiki

eWON General Reference Guide - eWON wiki

eWON General Reference Guide - eWON wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.3.16 $dtTR [TAR file]<br />

8.3.16.1 Export content<br />

<strong>General</strong> <strong>Reference</strong> <strong>Guide</strong> Export Block Descriptors<br />

$dtTR exports the <strong>eWON</strong> file(s) inside a TAR formated file.<br />

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.<br />

8.3.16.2 Detailed example<br />

Put the complete /usr directory in the mytar.tar file.<br />

8.3.16.3 Used Fields<br />

$dtTR $fnmytar.tar $td{/usr/*}<br />

Table 201: $dtTR - detailed example<br />

8.3.16.3.1 $fn [output filename]<br />

$fn is used to define a name for the output file.<br />

example: $fnMyDataFile.tar will produce a TAR file with the name "MyDataFile.tar".<br />

8.3.16.3.2 $td [TAR data]<br />

The data consists in a list of items separated by ',' (comma).<br />

The items are specified between "{ }" (curly brackets).<br />

$td {item1},{item2},...,{itemX}<br />

$dtTR Data type : TAR file<br />

Each item is one of these:<br />

• A /usr file name (complete path to file)<br />

• A /usr directory name (complete path to directory) followed by *<br />

• An export block descriptor<br />

$td Data : {/usr/*} the complete /usr directory<br />

$fn mytar.tar<br />

Fields Value if not specified<br />

Mandatory<br />

$td Data<br />

$fn File name<br />

Optional<br />

$ft B<br />

$ct<br />

Table 202: $dtTR - used fields<br />

If the path represents a directory followed by * then the whole tree is exported.<br />

8.3.16.4 TAR format and eTAR modified format<br />

The TAR file produced by the <strong>eWON</strong> could be :<br />

- a standard TAR file, compliant to the USTAR (Uniform Standard Tape Archive) format.<br />

- a modified TAR file, called eTAR.<br />

Standard TAR file can be opened by most of Packager Program like Winzip, WinRar.<br />

Due to technical reasons, the <strong>eWON</strong> produces an eTar format when the package holds file(s) belonging to the <strong>eWON</strong> root directory.<br />

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.<br />

You can find this eTar.exe program on http://ftp.ewon.biz/software/divers/etar.zip .<br />

RG-001-0-EN ver 1.14 <strong>eWON</strong>® - 02/05/2012 - ©<strong>eWON</strong> sa Page 207

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!