Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2001 22:22:02 +0100 (CET)
From:      Nils Holland <nils@tisys.org>
To:        Scott Nolde <scott@smnolde.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Splitting a tar archive
Message-ID:  <20011101222033.C53366-100000@jodie.ncptiddische.net>
In-Reply-To: <20011101160655.O92340-100000@bsd.smnolde.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Nov 2001, Scott Nolde wrote:

> I'd like to backup a series of files to CD-ROM, but the entire collection
> is approximately 1.1G.  Is there a way I can make a compressed tar archive
> of the files and span it across multiple CDs (after running mkisofs on
> each 650Mb segment)?

I see two possibilites:

1) Tell tar to create a multi-volume archive using the -M and -T option
(see manpage). Multi-volume archives cannot be compressed, however,

2) Create one big compressed tar file and then use split (see "man split")
to cut it into pieces. Then burn these onto your CDs.

Hope that helps

Nils

Nils Holland
Ti Systems - FreeBSD in Tiddische, Germany
http://www.tisys.org * nils@tisys.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011101222033.C53366-100000>