I need to _zip_ files up...
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > I need to _zip_ files up...




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    I need to _zip_ files up...  
silangdon


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-22-05 11:08 PM


Bit of a unix newbie so....

I've written a program to create a load of data that will get
transferred to a Windows workstation at some point. To save on
transfer times (+ the data will end up on a handheld WinCE machine)
bosses now requesting zipping of data files.

- We don't own the Unix server that the program will run on. User
will make the exe from sources that we provide
- Zip is the preferred compression format, would rather avoid human
intervention at either end
- The program creates several data files so stdout isn't expecially
practicable.


So, is there a commonly installed shell command that supports zipping?

It would probably be easiest to write a script to run my program then
a compression program..

hints and advice, as always, quite welcome





[ Post a follow-up to this message ]



    Re: I need to _zip_ files up...  
Måns Rullgård


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-22-05 11:08 PM

silangdon <me@you.twang> writes:

> Bit of a unix newbie so....
>
> I've written a program to create a load of data that will get
> transferred to a Windows workstation at some point. To save on
> transfer times (+ the data will end up on a handheld WinCE machine)
> bosses now requesting zipping of data files.
>
>  - We don't own the Unix server that the program will run on. User
> will make the exe from sources that we provide
>  - Zip is the preferred compression format, would rather avoid human
> intervention at either end
>  - The program creates several data files so stdout isn't expecially
> practicable.
>
> So, is there a commonly installed shell command that supports zipping?

Yes, it's called "zip", syntax reminiscent of pkzip.

--
Måns Rullgård
mru@inprovide.com





[ Post a follow-up to this message ]



    Re: I need to _zip_ files up...  
Doug Mitton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-22-05 11:08 PM

silangdon <me@you.twang> wrote:

>Bit of a unix newbie so....
>
>I've written a program to create a load of data that will get
>transferred to a Windows workstation at some point. To save on
>transfer times (+ the data will end up on a handheld WinCE machine)
>bosses now requesting zipping of data files.
>
> - We don't own the Unix server that the program will run on. User
>will make the exe from sources that we provide
> - Zip is the preferred compression format, would rather avoid human
>intervention at either end
> - The program creates several data files so stdout isn't expecially
>practicable.
>
>
>So, is there a commonly installed shell command that supports zipping?
>
>It would probably be easiest to write a script to run my program then
>a compression program..
>
>hints and advice, as always, quite welcome

I have found that even MSWin versions of zip will extract files from
standard *nix .tar.gz files.  I am pretty certain that versions as old
as WinZip8 can do this.  You may not have to add any zip software at
all to the Unix server.
--
------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:22 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register