Unix/Linux Go Back    


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

append file with tar command

AIX


Tags
aix, unix

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 06-07-2007
mbakry23 mbakry23 is offline
Registered User
 
Join Date: May 2007
Last Activity: 12 July 2017, 4:20 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
append file with tar command

hello,

can i append files into tape without clear this tape

thanks for help
Sponsored Links
    #2  
Old Unix and Linux 06-09-2007
TheEngineer TheEngineer is offline
Registered User
 
Join Date: Apr 2006
Last Activity: 4 November 2010, 12:11 PM EDT
Location: Iraq
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
you can use

tar -uvf <file to append to> <file to append>
Sponsored Links
    #3  
Old Unix and Linux 06-15-2007
infierno's Unix or Linux Image
infierno infierno is offline
Registered User
 
Join Date: Jul 2005
Last Activity: 19 April 2008, 5:41 PM EDT
Location: Asuncion, Paraguay
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
to append content into an existing tar file or tape you should try the "r" option. At your own risk!

tar rf <tar file or device> file_to_append


Code:
       r       The named files are written on the end  of  the	tape.	The  c
	       function implies this.

    #4  
Old Unix and Linux 08-07-2007
mbakry23 mbakry23 is offline
Registered User
 
Join Date: May 2007
Last Activity: 12 July 2017, 4:20 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
thank you friends verey match
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to append something to a word using sed command Dpu Shell Programming and Scripting 6 07-26-2011 05:43 AM
Help with tar --append command output redirection pganguly46 Shell Programming and Scripting 0 02-01-2011 04:32 AM
What's wrong with this sed command? delete & append minifish Shell Programming and Scripting 5 04-08-2008 09:34 PM
Append 0 for single digit entered from command line namishtiwari UNIX for Dummies Questions & Answers 2 08-24-2007 05:01 AM
Need help with command to append strings rockysfr Shell Programming and Scripting 3 07-06-2007 04:03 AM



All times are GMT -4. The time now is 11:46 PM.