Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <4.3.2.7.2.20000817093422.022513a8@mail.prefres.com>
X-Sender: "Mminnis" <mminnis@prefres.com>
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Thu, 17 Aug 2000 09:37:19 -0500
To: Jason Tishler <Jason.Tishler@dothill.com>, cygwin@sources.redhat.com
From: "Matt Minnis" <mminnis@prefres.com>
Subject: Re: tar question: Solved
In-Reply-To: <20000817102531.G1036@DP>
References: <4.3.2.7.2.20000817083850.0223eec0@mail.prefres.com>
 <20000816234240.4153.qmail@web111.yahoomail.com>
 <4.3.2.7.2.20000817083850.0223eec0@mail.prefres.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-SLUIDL: ED5B22AB-743511D4-B71B0080-C813F968

Thanks All!

 > Here is my command line:
> >          @tar -zcvf $(TARBALL) Makefile *.c *.h ./tracer/* \
> >             License Readme version 
> ./monitor/*  --exclude=./monitor/monitor.o
>
>Use the following instead:
>
>     tar -zcvf $(TARBALL) Makefile *.c *.h ./tracer/* \
>         License Readme version ./monitor --exclude=./monitor/monitor.o
>                                         ^
>                                         +--- see below
>
>Note that there is no "/*" after "./monitor" above.

This worked.

>You are explicitly specifying "./monitor/monitor.o" on the commandline
>via "./monitor/*", so the exclude option is being ignored.  Hence, the
>guess in my previous email was correct.

I didn't realize that dir/* explicitly listed the files into the command 
line.  Thinking about it though, this does make sense.

Who is incharge of documentation?  Perhaps this type of example could help 
others down the road.

Thanks,

Matt Minnis
Cthulhu for President. Why settle for a lesser evil?

=========================================================
Preferred Resources          (314) 567-7600 phone
701 Emerson rd.              (314) 993-6699 fax
Suite 475		       mminnis@prefres.com
St. Louis, MO
63141
=========================================================


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

