Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!agate!ucbvax!janus!robm From: robm@ataraxia.Berkeley.EDU (Rob McNicholas) Newsgroups: comp.unix.ultrix Subject: Re: extract single file from subset? Message-ID: Date: 9 May 91 23:47:05 GMT References: Sender: root@agate.berkeley.edu (Charlie Root) Distribution: comp Organization: University of California, Berkeley Lines: 26 In-Reply-To: perf@efd.lth.se's message of 9 May 91 13: 53:02 GMT In article perf@efd.lth.se (Per Foreby) writes: Is it possible to extract a single file from a setld subset? Most subsets are just compressed tar files, so cat SUBSET | uncompress | tar tvf - will give you a listing of the contents. Then, replace the tar tvf - with an extract command ('tar xpvf - FILE') to extract a specific file. The ROOT subset however seems to be in 'dump' format. Use 'restore' to extract from this file. Also, I think making the subsets compressed is a relatively new feature, so do a 'file' on the subset first to make sure it's compressed. -Rob -- Rob McNicholas Computer Systems Support Group, U.C. Berkeley robm@janus.berkeley.edu ....!ucbvax!janus!robm Home: 415/339-1514 Work: 415/642-8633