This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: tar question


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@icon-gmbh.de)

> -----Original Message-----
> From:	Earnie Boyd [SMTP:earnie_boyd@yahoo.com]
> Sent:	Thursday, August 17, 2000 19:48
> To:	Matt Minnis; cygwin@sources.redhat.com
> Subject:	Re: tar question
> 
> --- Matt Minnis <mminnis@prefres.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@yahoo.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@sourceware.cygnus.com

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]