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: Ville Oikarinen
Subject: Re: [Bug-tar] Split Big File Using "tar"
Date: Mon, 30 Jan 2006 09:49:48 +0200 (EET)

> 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

See man split for instructions for changing the part names (default is 
xaa, xab, xac,...).

Then uncompress the files like this:
cat the part files ... | tar xf -

Ville Oikarinen




reply via email to

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