delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
From: | "Siegfried Heintze" <siegfried AT heintze DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Selectively zipping files together |
Date: | Thu, 14 Oct 2004 21:48:13 -0600 |
MIME-Version: | 1.0 |
In-Reply-To: | <cb51e2e04101417277b6510d7@mail.gmail.com> |
Message-Id: | <200410142150578.SM01168@fasolt> |
X-IsSubscribed: | yes |
I did not see this bounce back to me so I am sending it again. I wonder if the problem was with HTML/plain formatting? ---------------------------------------------------------------------------- I'm trying to use sun's jar utility (from Sun's java development kit) along with the Cygwin find command to selectively zip together a directory tree and send it to someone that can explode the tree using WinZIP or PKZIP. I suppose it off topic to discuss the jar utility here. I'm looking for an appropriate mailing list to solicit help with jar (suggestions are welcome). The following does not work because it just grabs all the files in my directory. I tried using the -print on find that did not help. I tried removing the "@" pipe find into xargs and that did not work. /usr/bin/find "." \( ! -name \*.pch -a ! -path \*CVS\* \) | jar cvf@ ..\\archive.zip Since we are not allowed to discuss jar here, is there a Cygwin utility that produces Windows ZIP files that will work with find? I even tried tar (even though it is not the format I want). Why does this not work? /usr/bin/find "." \( ! -name \*.pch -a ! -path \*CVS\* \) | xargs tar cvf ../archive.zip The problem is the same: all the files are included. I also, for all of the above, tried using the -print on the find command but that did not help. Oh - and one last question: is there any document that compares bzip with bzip2 and gnuzip and winzip? Thanks, Siegfried -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |