Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!mit-eddie!uw-beaver!blake!lgl From: lgl@blake.acs.washington.edu (Laurence G Lundblade) Newsgroups: gnu.utils.bug Subject: Gnu tar 1.04 with -X and -G options Message-ID: <728@blake.acs.washington.edu> Date: 1 Feb 89 19:38:33 GMT Organization: Univ of Washington, Seattle Lines: 17 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