The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How do I untar file through an ssh session? Joe McCaughan UNIX for Advanced & Expert Users 3 05-28-2008 12:01 PM
Tar utility (untar a .tar file) on VxWorks uday_01 UNIX for Advanced & Expert Users 1 05-26-2008 06:13 AM
unable to UNTAR a file NIMISH AGARWAL UNIX and Linux Applications 6 05-08-2008 08:35 PM
untar to a specified file melanie_pfefer UNIX for Dummies Questions & Answers 3 11-27-2006 10:32 AM
Untar a TAR file at different location malaymaru UNIX for Dummies Questions & Answers 5 09-18-2006 05:59 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-20-2004
Registered User
 

Join Date: Apr 2004
Location: Singapore
Posts: 13
unTar a specific file from remote

During tar, the command used is
tar cvf - * | remsh system_name dd of=/dev/rmt/0m bs=10k

To untar all, we used
remsh system_name "dd if=/dev/rmt/0m ibs=10k" | tar xvf -

Question?
How to untar a specific file from remote?
Thanks alot...
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-25-2006
Registered User
 

Join Date: Nov 2005
Posts: 1
For guidance only:

Idea taken from the basement, one can't extract a single file out from a backup created thru tar command. Please consider ufsdump instead.
Reply With Quote
  #3 (permalink)  
Old 05-25-2006
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
I believe it depends on your version of tar. Checking GNU tar, I could specify "tar xvf - path/to/myfile".

Read The Furnished Manual...
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0