How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi,

I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server.

How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but the .gz / .Z files generated cannot be unzipped by unzip utility. I even renamed the output files with .ZIP but the unzipping fails.

Can anyone in this group throw a light on how to acheive this ?

Thanks & regards,
Sabari Nath S

yum install zip

and then zip it with zip

---------- Post updated at 05:18 PM ---------- Previous update was at 04:41 PM ----------

If you are unable to install the standard "zip" package via rpm/yum/apt-get/emerge etc.; try coding it in perl:

Archive::Zip - search.cpan.org