Mount a tar archive?

Danny Howard dannyman at toldme.com
Wed Mar 30 10:49:23 PST 2005


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/



More information about the freebsd-questions mailing list