Skip to Content

Create a TAR file in XI?

Hi All,

One of our client requirement is to create a tar file as the output.

The payloadzipbean creates a zip file. Is there any standard way to create a tar file?

If there isnt, is there an alternative?

Regards,

Shabarish

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 15, 2008 at 09:36 AM

    Hi Shabarish,

    I am not sure if there is a standard way, but one way would be to execute a script at the end of the processing.

    In the script, use tar command to create tar file of the required files.

    Thanks,

    Swapna

    Add comment
    10|10000 characters needed characters exceeded

    • Shabarish V Nair Santhosh Kumar Vellingiri

      > Hi Shabz,

      >

      > I guess it is feasabel to write a script that will both convert the file to tar file and do a FTP transfer to the target system. You may execute this script every time a file is created thru the receiver channel.

      > By this way you can avoid having an additional scenario to transfer the TAR file.

      >

      > Thanks

      > SaNv...

      Hi Santhosh,

      In this particular case, to have the same script do the FTP is not a good idea because;

      a. It is FTPS

      b. The password for the target keeps changing every month - means modifying the script in PRD

      c. To monitor for the FTP of the files via the script is a pain point. The support team will require to now check in a different location for this, losing out on the central monitoring concept of XI 😊

      Thanks for you input still, appreciate it !!!

      Regards,

      Shabz

  • Oct 15, 2008 at 09:10 AM

    Bring to Front

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 09:13 AM

    Hi Vijayakumar,

    TAR stands for Tape Archive.

    file format in the form of a type of archive bitstream and the name of the program used to handle such files. Initially developed as a raw format, used for tape backup and other sequential access devices for backup purposes, it is now commonly used to collate collections of files into one larger file, for distribution or archiving, while preserving file system information such as user and group permissions, dates, and directory structures.

    kindly chk in wikipedia to get more clear idea

    Add comment
    10|10000 characters needed characters exceeded

    • >

      > Hi Vijayakumar,

      >

      >

      > TAR stands for Tape Archive.

      >

      > file format in the form of a type of archive bitstream and the name of the program used to handle such files. Initially developed as a raw format, used for tape backup and other sequential access devices for backup purposes, it is now commonly used to collate collections of files into one larger file, for distribution or archiving, while preserving file system information such as user and group permissions, dates, and directory structures.

      >

      > kindly chk in wikipedia to get more clear idea

      Thanks for the post.

      I am aware of what TAR format is about. The issue is how to create such an archive via XI.