Using tar with the 'r' option

Mark Levy mhlevy at sbee.sunysb.edu
Mon Jun 12 09:25:13 AEST 1989


In article <771 at mccc.UUCP>, pjh at mccc.UUCP (Pete Holsberg) writes:
> Is there anyway to get tar to extract a file from an archive file and send it
> to stdout (rather than to a file)?
> -- 
> Pete Holsberg, Professor, Technology Division


Try:
     tar xvf -   ( the '-' means stdout or stdin )

Mark
-- 
~~~~~~~~~  Disclaimer???   We don't need no stinkin' disclaimer!!!  ~~~~~~
Mark Levy { mhlevy at sbccvm.BITNET   } 	% Debbie Gibson is pregnant,  with
          { mhlevy at sbee.sunysb.edu }    %   my two headed love child....
          { mhlevy at ccvm.sunysb.edu } 	%                         Mojo Nixon



More information about the Comp.unix.xenix mailing list