tar question: Solved

Matt Minnis mminnis@prefres.com
Thu Aug 17 07:37:00 GMT 2000


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



More information about the Cygwin mailing list