delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/16/15:33:42

X-Spam-Check-By: sourceware.org
Message-ID: <10653042.post@talk.nabble.com>
Date: Wed, 16 May 2007 12:33:05 -0700 (PDT)
From: Chadwick <chad_evans AT OWFG DOT com>
To: cygwin AT cygwin DOT com
Subject: Adding to a windows zip file without zip.exe
MIME-Version: 1.0
X-Nabble-From: chad_evans AT OWFG DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


Cygwin is currently installed on over a hundred windows 2003 servers, and is
used to do some admin tasks as well as to pull files from the servers on a
daily basis via ssh.  One of the files pulled from each server is a windows
ZIP file.

I want to add an extra file to this ZIP file using a script.  I looked at
both DOS batch scripts and cygwin shell scripts but have run into problems
because the cygwin installed on these boxes doesnt contain ZIP.exe, and the
PKZIP.exe I would used with a batch script is so old it only accepts 8.3
filenames.

Updating the servers with new cygwin or command line packages is not an
option at this point.

That being said, I am a huge cygwin fan and am not willing to give up on a
shell script as my solution quite yet.

The cygwin version on the servers does have gzip, gunzip, bzip2, bunzip2,
and unzip.

Unfortunatly I have as yet been unsucceful in using these tools to add a
file to my windows zip archive. 

Any suggestions?


-- 
View this message in context: http://www.nabble.com/Adding-to-a-windows-zip-file-without-zip.exe-tf3768198.html#a10653042
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019