Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2005 10:49:21 -0800
From:      Danny Howard <dannyman@toldme.com>
To:        infofarmer@mail.ru
Cc:        FreeBSD-Questions Questions <freebsd-questions@freebsd.org>
Subject:   Re: Mount a tar archive?
Message-ID:  <424AF4B1.4060403@toldme.com>
In-Reply-To: <424AEFB2.8020001@mail.ru>
References:  <424AEFB2.8020001@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew P. wrote:

> Hello!
>
> I have a 80G tar archive which I have nowhere to
> extract to. Could I mount it as a filesystem?
> Read-only would suffice.

Andrew,

Short of that solution, why not tar -t to get a list of files in the 
archive, then you can tar -x the files you actually want.

You ought to be able to:
tar -t foo.tar > list.txt
edit list.txt
cat list.txt | xargs tar -x foo.tar

-danny

-- 
http://dannyman.toldme.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?424AF4B1.4060403>