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


--- 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


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