Mail Archives: cygwin/2000/08/17/16:01:09
Hi Earnie,
quoting doesn't work, because tar does no wildcard expansion
itself, so attempting to search for a file with a literal * fails.
Specifiying the directory name works, but then it recurses into
subdirectories, if any.
Bye, Heribert (heribert_dahms AT icon-gmbh DOT de)
> -----Original Message-----
> From: Earnie Boyd [SMTP:earnie_boyd AT yahoo DOT com]
> Sent: Thursday, August 17, 2000 19:48
> To: Matt Minnis; cygwin AT sources DOT redhat DOT com
> Subject: Re: tar question
>
> --- Matt Minnis <mminnis AT prefres DOT com> wrote:
> > Earnie,
> >
> > What does alphabetizing the files have to do with anything?
> >
> > If I name a specific file, shouldn't it be excluded no matter where
> it
> > comes in the list?
> >
>
> See Jason Tishler's response to your problem.
>
> > Here is my command line:
> > @tar -zcvf $(TARBALL) Makefile *.c *.h ./tracer/* \
> > License Readme version ./monitor/*
> --exclude=./monitor/monitor.o
> ^^^^^^^^^^^
> this will specify that you want
> ./monitor/monitor.o to be included regardless of the --exclude because
> the
> shell will do globbing. You can either turn off globbing in the shell
> or use
> quoting techniques.
>
> Cheers,
>
> =====
> ---
> Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
> __Cygwin: POSIX on Windows__
> Cygwin Newbies: <http://gw32.freeyellow.com/>
> __Minimalist GNU for Windows__
> Mingw32 List: <http://www.egroups.com/group/mingw32/>
> Mingw Home: <http://www.mingw.org/>
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -