bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug with GNU Tar v1.12


From: Mike Scott
Subject: bug with GNU Tar v1.12
Date: Wed, 15 Jan 2003 12:50:22 -0800

Hello,

I believe I've found a problem with GNU Tar (v1.12) on my SCO 5.0.5 server.

My command line:
# tar -c -v -T include.list -X exclude.list -f backup.tar

The output:
/usr/local/bin/tar: Removing leading `/' from absolute path names in the
archive
usr/local/

The resulting tarfile (backup.tar), has no files, just the /usr/local
directory entry.  Size is approx. 10K

My include.list file contains one line:
/usr/local

My exclude.list file contains one line:
/usr/local/backup/*.Z

Within my /usr/local directory are several files and other directories,
including backup.  My /usr/local/backup directory has many other files,
including the *.Z files I don't wish to backup.
I've tried removing the leading / in the exclude file, but then I get ALL
the files.  If I don't use the -X option, I also get ALL the files.

Note: I have simplified this example while retaining the bug.  In reality,
my include.list/exclude.list files will each have many lines....

-with thanks

Mike Scott, Victoria BC
address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]