extract single file from subset?

Rob McNicholas robm at ataraxia.Berkeley.EDU
Fri May 10 09:47:05 AEST 1991


In article <PERF.91May9155302 at osiris.efd.lth.se> perf at 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 at janus.berkeley.edu		....!ucbvax!janus!robm
Home: 415/339-1514		Work: 415/642-8633



More information about the Comp.unix.ultrix mailing list