Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 2009 17:17:13 -0700
From:      Milo Hyson <milo@cyberlifelabs.com>
To:        freebsd-questions@freebsd.org
Subject:   tar acting strange with -T
Message-ID:  <9BF45D7B-D9ED-4B09-8C6E-0ED849260601@cyberlifelabs.com>

next in thread | raw e-mail | index | archive | help
tar seems to be misbehaving when used with the -T switch. If I run the  
following:

	find somebigdir > /tmp/file-list
	tar -cjf /tmp/tarball.tar.bz2 -T /tmp/file-list

I get no errors. However, when I go to unpack it:

	tar -xyf /tmp/tarball.tar.bz2

I get several errors about files not found in the archive. It's always  
the same files. I've checked to ensure there's nothing special about  
them.

If I try to create the same tarball without using a file-list:

	tar -cjf /tmp/tarball.tar.bz2 somebigdir

I get no errors during unpacking. Running find on this unpacked set  
confirms the file-list matches exactly that which I'm trying to use  
with the -T switch. Unless I'm overlooking something obvious, I can  
only conclude that tar's handling of -T is funky. Any suggestions?

I'm using a fresh installation of 7.2-RELEASE on amd64 installed from  
an ISO.

--
Milo Hyson
Chief Scientist
CyberLife Labs, Inc.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9BF45D7B-D9ED-4B09-8C6E-0ED849260601>