question about TAR

Felipe Figueiredo philsf79 at gmail.com
Fri Nov 30 22:10:27 UTC 2007


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 -





More information about the ubuntu-users mailing list