Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Nov 2001 16:33:29 -0600
From:      jacks@sage-american.com
To:        Jim Arnold <jim@ohio.com>, David Kelly <dkelly@hiwaay.net>
Cc:        Nils Holland <nils@tisys.org>, Scott Nolde <scott@smnolde.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Splitting a tar archive
Message-ID:  <3.0.5.32.20011102163329.00faefc0@mail.sage-american.com>
In-Reply-To: <a05100310b808b104839b@[206.128.102.10]>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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