On Mon, 23 Apr 2001, Eric Wolzak wrote:

> The problem was that  the exclude option
> overrides
> the include option.

<Snip!>

> I used the following command
> tar -c -v `cat $INCLUDE` -X $EXCLUDE | gzip
> >$DIR/$PACKAGE.lrp

So, uh, call me stupid and feel free to point and laugh and stuff, but
can't you specify - some sort of separation between $EXCLUDE and $INCLUDE
and run $EXCLUDE first?

Does $EXCLUDE come out as:

-X '/etc /sbin /var/log/messages'

Or does it come out as:

-X /etc /sbin /var/log/messages

(Without the quotes.) That would solve the problem if it's simply an issue
of one overriding the other...

--
George Metz
Commercial Routing Engineer
[EMAIL PROTECTED]

"We know what deterrence was with 'mutually assured destruction' during
the Cold War. But what is deterrence in information warfare?" -- Brigadier
General Douglas Richardson, USAF, Commander - Space Warfare Center


_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to