George Bonser wrote:

> On 27-Sep-99 Seth R Arnold wrote:
> >>From man tar:
> > 
> >       --exclude FILE
> >               exclude file FILE
> > 
> >       -X, --exclude-from FILE
> >               exclude files listed in FILE
> > 
> 
> Can you verify that this actually works? I tried it a couple of
> weeks ago and it seemed to include the files I excluded anyway.

$ cd /tmp
$ mkdir test
$ cd test
$ touch test1
$ touch test2
$ touch test3
$ tar -cvf /dev/null --exclude test2 .
./
test1
test3

Reply via email to