🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1480

Gnu tar 1.04 with -X and -G options

#1480
From: Laurence G Lundblade
Date: Wed, 01 Feb 1989 19:38
17 lines
1110 bytes
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
Technical Details
Message-ID: <728@blake.acs.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!mit-eddie!uw-beaver!blake!lgl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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