ubuntu-users@lists.ubuntu.com
[Top] [All Lists]

Re: question about TAR

Subject: Re: question about TAR
From: Felipe Figueiredo
Date: Fri, 30 Nov 2007 20:10:27 -0200
Em Thursday 29 November 2007 20:14:18 Ouattara Oumar Aziz (alias wattazoum) 
escreveu:
> Hello
> 
> I would like to know if it's possible to transfer a file from one tar
> archive to another (without untarring it on the disk)
> 
> For example , I have a 2GB dir in a TAR archive and I want to transfer a
> subdir of 1GB to another TAR file. I don't have 1GB free on my disk .
> Can Tar handle this ?
> 

have you tried this?

tar xf archive1.tar relative/path/to/file | tar rf \
 archive2.tar -


-- 
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

<Prev in Thread] Current Thread [Next in Thread>