From owner-freebsd-questions Fri Nov 2 14:33:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 31ABE37B40C for ; Fri, 2 Nov 2001 14:33:31 -0800 (PST) Received: from sageone (adsl-64-219-30-182.dsl.crchtx.swbell.net [64.219.30.182]) by sage-american.com (8.9.3/8.9.3) with SMTP id QAA23858; Fri, 2 Nov 2001 16:33:13 -0600 (CST) Message-Id: <3.0.5.32.20011102163329.00faefc0@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 02 Nov 2001 16:33:29 -0600 To: Jim Arnold , David Kelly From: jacks@sage-american.com Subject: Re: Splitting a tar archive Cc: Nils Holland , Scott Nolde , freebsd-questions@FreeBSD.ORG In-Reply-To: References: <3.0.5.32.20011102124221.00f94888@mail.sage-american.com> <3.0.5.32.20011102113219.00f94888@mail.sage-american.com> <20011101160655.O92340-100000@bsd.smnolde.com> <20011101222033.C53366-100000@jodie.ncptiddische.net> <3.0.5.32.20011102113219.00f94888@mail.sage-american.com> <3.0.5.32.20011102124221.00f94888@mail.sage-american.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 This works impeccably: Original file = hws-vol1.pdf #split hws-vol1.pdf splittest -b 1m (gave the split files below) -rwxr--r-- 1 sageame sageame - 4638512 Aug 12 11:49 hws-vol1.pdf -rw-r--r-- 1 sageame sageame - 4638512 Nov 2 16:15 split.pdf -rw-r--r-- 1 sageame sageame - 1048576 Nov 2 14:12 splittestaa -rw-r--r-- 1 sageame sageame - 1048576 Nov 2 14:12 splittestab -rw-r--r-- 1 sageame sageame - 1048576 Nov 2 14:12 splittestac -rw-r--r-- 1 sageame sageame - 1048576 Nov 2 14:12 splittestad -rw-r--r-- 1 sageame sageame - 444208 Nov 2 14:12 splittestae Then: cat splittestaa >> split.pdf cat splittestab >> split.pdf cat splittestac >> split.pdf cat splittestad >> split.pdf cat splittestae >> split.pdf ...gave the 100% correct file back as "split.pdf" ...same size as original and it loads perfectly in the Acrobat Reader which solves my problem with this one. I suspect there is a better way of "cating" the files than one-by-one...??? At 03:24 PM 11.2.2001 -0500, Jim Arnold wrote: >ok, now that I have a directory full of files like > >xkw xwh yhs ytd zeo >xkx xwi yht yte zep >xky xwj yhu ytf zeq >xkz > >how do i go about getting them back into the >original file. > >cat ./* > file doesn't seem to work > >At 12:42 PM -0600 11/2/01, jacks@sage-american.com wrote: >>David, thanks... I have used cat to append files, but was unsure it >>appended properly after the split program which has several ways of doing >>it.... good to know. >> >>At 11:55 AM 11.2.2001 -0600, David Kelly wrote: >>>On Fri, Nov 02, 2001 at 11:32:19AM -0600, jacks@sage-american.com wrote: >>>> Nils: What's the program that puts "split" files back together >>afterwards...? >>> >>>cat(1) >>> >>>-- >>>David Kelly N4HHE, dkelly@hiwaay.net >>>===================================================================== >>>The human mind ordinarily operates at only ten percent of its >>>capacity -- the rest is overhead for the operating system. >>> >>> >> >>Best regards, >>Jack L. Stone, >>Server Admin >> >>Sage-American >>http://www.sage-american.com >>jacks@sage-american.com >> >>To Unsubscribe: send mail to majordomo@FreeBSD.org >>with "unsubscribe freebsd-questions" in the body of the message > > > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message