delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/17/09:11:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 17 Aug 2000 09:10:30 -0400
From: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
To: Matt Minnis <mminnis AT prefres DOT com>
Cc: cygwin AT sources DOT redhat DOT com
Subject: Re: tar question
Message-ID: <20000817091030.A1036@DP>
References: <F140fTN0uy9CXk9zQpB00000b9d AT hotmail DOT com> <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20000816161432 DOT 02268a70 AT mail DOT prefres DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.4i
In-Reply-To: <4.3.2.7.2.20000816161432.02268a70@mail.prefres.com>; from mminnis@prefres.com on Wed, Aug 16, 2000 at 04:19:49PM -0500
Organization: Dot Hill Systems Corp.

On Wed, Aug 16, 2000 at 04:19:49PM -0500, Matt Minnis wrote:
> I am trying to make a tar volume & exclude the *.o & *.x files.
> 
> So I have added --exclude=*.o --exclude=*.x to the commandline.
> 
> This still gets the o & x files.
> 
> What am I doing wrong?  Is there a problem with cygwin causing this?

Are you explicitly listing the files to be excluded on the commandline?
If so, here is the problem (excerpt from info):

Problems with Using the `exclude' Options
-----------------------------------------

   Some users find `exclude' options confusing.  Here are some common
pitfalls:

   * The main operating mode of `tar' will always act on file names
     listed on the command line, no matter whether or not there is an
     exclusion which would otherwise affect them.  In the example
     above, if you create an archive and exclude files that end with
     `*.o', but explicitly name the file `catc.o' after all the options
     have been listed, `catc.o' *will* be included in the archive.

The above is just a guess, since you did not include your exact
commandline -- hope it helps.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason DOT Tishler AT dothill DOT com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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