Tar utility (untar a .tar file) on VxWorks

Hi All

Can someone pls guide me if there any utility to compress file on windows & uncompress on vxworks

I tried as -

  • compressed some folders on windows ... i created .tar ( to maintain directory structure ) and compressed to .gz format.

  • on VxWorks i have uncompressed it to .tar by using gzopen and gzread of zLib.

i am stuck how to untar this file on VxWorks.....

pls let me know if there a way out.... Thanks in Advance

some tar examples:

for file.tar.Z:
uncompress file.tar.Z ; tar -xvf file.z

for file.tar.gz
gunzip file.tar.gz ; tar -xvf file.tar

for file.tar
tar -xvf file.tar

Hope that can help you.

Cya!