Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

zip is appending instead of replacing

Status
Not open for further replies.
Jul 11, 2001
83
US
I'm having trouble with zipping on a client's SCO OpenSever 5 machine.
I've got two files, xyz.dat and xyz.zip.
I'm doing

Code:
zip xyz xyz.dat

For some reason, SCO is appending xyz.dat to xyz.zip, instead of replacing it.
I did the same thing on my server, and it replaces it.
Has anyone out there seen this???
---Thanks.
 
Do you mean gzip?

Try gzip xxx > yyy
 
PatW:

No, just plain old zip.
I'm trying to find out why an existing script has started to act funny.
Part of the script zips a file into a file w/ a predefined name. This file usually gets replaced.
For some reason, the zip portion of the script is appending to the file instead.

We have many other servers running the same script and getting the expected results.
Have you ever heard of a bug like this?
I already had to reboot - didn't help.

Thanks.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top