View previous topic :: View next topic |
Author |
Message |
glurps Apprentice
Joined: 11 Mar 2004 Posts: 292
|
Posted: Sat Nov 05, 2005 3:01 pm Post subject: add tarfile to another |
|
|
how can i add the content of a tar file to another (in one single step)?
i have tried something like:
Code: | tar -xv tar1.tar | tar -rvf tar2.tar |
|
|
Back to top |
|
|
s3ntinel n00b
Joined: 04 Apr 2005 Posts: 64
|
Posted: Sat Nov 05, 2005 11:52 pm Post subject: |
|
|
cp tar1.tar tar2.tar ? |
|
Back to top |
|
|
glurps Apprentice
Joined: 11 Mar 2004 Posts: 292
|
Posted: Sun Nov 06, 2005 11:39 am Post subject: |
|
|
hm yes, thats what i currently do (actually mv saves me from deleting).
i can live with that for now its just not so beautiful.
i have the same problem with sed. it seams its not possible (which makes sence, since its a stream editor) to edit a file in place. |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Sun Nov 06, 2005 6:27 pm Post subject: |
|
|
glurps wrote: | i have the same problem with sed. it seams its not possible (which makes sence, since its a stream editor) to edit a file in place. | |
|
Back to top |
|
|
|