[gnu.utils.bug] Gnu tar 1.04 with -X and -G options

lgl@blake.acs.washington.edu (Laurence G Lundblade) (02/02/89)

It seems that files will not be excluded if they are in a subdirectory
of one of the files on the command line and the -G option is used.
Files mentioned on the command line are excluded properly. 

"tar -c -G -v -X nonosave /src" gets all the files in /src regardless
of what nonosave contains. (Except if it contain /src).

If you leave the -G option off, the files are ignored. From looking at
the source I see that the -G option causes a list of files to be build
before the archiving begins which is different from normal mode. I
also couldn't find any code to exclude files other that the ones from
the command line in this list building.

Anyone else encountered or fixed this?


Laurence Lundblade         lgl@blake.acs.washington.edu