[lug] TAR Archiving

Calvin Dodge caldodge at fpcc.net
Fri Aug 24 19:58:06 MDT 2001


Kristopher Applegate wrote:
> 
> I am looking for a way to tar an entire directory
> structure of about 20GB into a series of <=2GB files.
> The box is a RedHat 7.1 box and I am transferring the
> archives to a older NAS unit based off of an old Linux
> that has the 2GB ext2 file size limit. I read the man
> for tar and found it was lacking what I needed. I was
> planning on using tar but if you guys have any better
> suggestions, I am not opposed to that. I would also
> prefer not to have to split the archive post-compress
> and tie up a large amount of disk space in the
> process. Any help would be appreciated.

So you want to split it into smaller chunks, but you don't want to split it?

I think I'm misunderstanding something here.

You can feed the output of tar into split, and that way you won't use any more
disk space than the full 20 gigs would take up.

Does that work for you?

Calvin

-- 
Calvin Dodge
Certified Linux Bigot (tm)
http://www.caldodge.fpcc.net



More information about the LUG mailing list