Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Purpose

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

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.

Syntax

Example

$> mettleci isx cat \
   -isx cat_test2.isx \
   -pattern assets/CleanUser*.isx \
   -pattern assets/ConnectorTest*.isx
loaded "assets\CleanUserDataHC.isx
        added "TEST1-ENGN.DATAMIGRATORS.IO/dstage1/Jobs/CleanUserDataHC.pjb"
loaded "assets\ConnectorTest.isx
        added "TEST1-ENGN.DATAMIGRATORS.IO/dstage1/Jobs/ConnectorTest.pjb"
loaded "assets\CleanUserDataFC.isx
        added "TEST1-ENGN.DATAMIGRATORS.IO/dstage1/Jobs/CleanUserDataFC.pjb"
loaded "assets\ConnectorTest2.isx
        added "TEST1-ENGN.DATAMIGRATORS.IO/dstage1/Jobs/ConnectorTest2.pjb"
loaded "assets\CleanUserData2.isx
        added "TEST1-ENGN.DATAMIGRATORS.IO/dstage1/Jobs/CleanUserData2.pjb"
loaded "assets\CleanUserData.isx
        added "TEST1-ENGN.DATAMIGRATORS.IO/dstage1/Jobs/CleanUserData.pjb"
loaded "assets\CleanUserData3.isx
        added "TEST1-ENGN.DATAMIGRATORS.IO/dstage1/Jobs/CleanUserData3.pjb"
isx cat complete.


  • No labels