🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Laurence G Lundblade Wed, 01 Feb 1989 19:38
Gnu tar 1.04 with -X and -G options
#1480
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads