delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/16/19:13:44

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <10653042 DOT post AT talk DOT nabble DOT com>
Subject: RE: Adding to a windows zip file without zip.exe
Date: Thu, 17 May 2007 00:12:23 +0100
Message-ID: <088701c7980f$a951f300$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <10653042.post@talk.nabble.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 16 May 2007 20:33, Chadwick wrote:

> 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.

  Could you pull /both/ the zip and the new file by ssh, and just install and
use zip.exe on the one machine where you're receiving them, and add the file
to the zip there?


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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