From owner-freebsd-questions Tue Mar 26 15:42:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from icarus.slightlystrange.org (icarus.slightlystrange.org [62.190.193.173]) by hub.freebsd.org (Postfix) with ESMTP id 1D44337B419 for ; Tue, 26 Mar 2002 15:42:11 -0800 (PST) Received: from danielby by icarus.slightlystrange.org with local (Exim 3.12 #1 (Debian)) id 16q0Zt-0007cQ-00 for ; Tue, 26 Mar 2002 23:42:09 +0000 Date: Tue, 26 Mar 2002 23:42:09 +0000 From: Daniel Bye To: freebsd-questions@FreeBSD.ORG Subject: Re: TAR HELP Message-ID: <20020326234209.GB29111@icarus.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <006001c1d515$48407d60$3866fed8@Leda500> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <006001c1d515$48407d60$3866fed8@Leda500> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Mar 26, 2002 at 05:26:31PM -0500, LEDAMAY speakeasy wrote: > Anyone know how to create a tar file that spans say... 30meg chunks? > > I want to backup a server's /home drive and the tar file is over 5gigs... > Windows will not allow a file that large and it is a window machine I wanna > back it up to... If I can break it apart in chunks it will. Pkzip will do > what I want on a windows machine.. IE pkzip -r -p -v1440 or what ever it > was... and there is a way with the tar utility.. I just forget how > PLEASE LEMME KNOW! > This is going to be really ugly, so avert your eyes now if you are feeling sensitive... tar cvf mytarfile.tar /home split -b 100m mytarfile.tar splitfile. ## You end up with 100MB files, named splitfile.aa, splitfile.ab, etc cat splitfile.* >> mytarfile_reconstituted.tar Messy, but it works! Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message