Document toolboxDocument toolbox

ISX Cat Command

Purpose

The isx cat command concatenates the specified ISX files into a single ISX output file.

Syntax

Using the -pattern option

Ensure you use single quotes (') around the specified pattern, or your command shell will expand the pattern before passing it to the MettleCI command line!

For example, let’s assume we have three ISX files:

$> ls -l *.isx -rw-r--r--@ 1 johnmckeever staff 5.5M 10 Aug 12:46 jm_one.isx -rw-r--r--@ 1 johnmckeever staff 4.7M 10 Aug 12:46 jm_three.isx -rw-r--r--@ 1 johnmckeever staff 6.2M 10 Aug 12:46 jm_two.isx

The command…

$> mettleci isx cat \ -isx out.isx \ -pattern ‘jm_*.isx’

…will successfully concatenate your three files, but…

$> mettleci isx cat \ -isx out.isx \ -pattern jm_*.isx

…will not work, as jm_*.isx will expand to jm_one.isx jm_three.isx jm_two.isx which is syntactically incorrect.

Using a single -pattern option

Note that a single -pattern option will take multiple patterns delimited by a comma. For example…

… will process files jm_one.isx, jm_two.isx, and jm_three.isx.

Example



© 2015-2024 Data Migrators Pty Ltd.