bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Split Big File Using "tar"


From: Joerg Schilling
Subject: Re: [Bug-tar] Split Big File Using "tar"
Date: Mon, 30 Jan 2006 16:57:27 +0100
User-agent: nail 11.2 8/15/04

Ville Oikarinen <address@hidden> wrote:

> > Is it Possible to Create archive of spacific size.. (as like we can do with
> > winrar)
> > 
> > i am having a 80 GB file.. while tar is.. is it possible to split as
> > 80Archive of 1 GB...
> > eg  file name is    "image"
>
> I'm not a tar developer, but your proposition doesn't sound like unix
> philosophy of doing one thing well and let others do other things well.
>
> IMHO this is better:
> tar -cf - the_dir_to_tar | split -b 1024m

Whether this is useful depends on what you like to do with the archives.


Looking at the original Subject: Split Big File Using "tar"
the answer is NO, as there is no generic way to do this with "tar".

You may do this with GNU tar in one way and to it with star in another
way. 

If you e.g. look at the way star splits archives, you will find that the
resultant archives may be used as separate "tar" input while using
"split -b 1024m" will not allow you to do this.

Jörg

-- 
 EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden                (uni)  
       address@hidden     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily




reply via email to

[Prev in Thread] Current Thread [Next in Thread]