Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2001 16:16:31 -0500
From:      Jim Arnold <jim@ohio.com>
To:        Cliff Sarginson <cliff@raggedclown.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Splitting a tar archive
Message-ID:  <a05100313b808ba9bc433@[206.128.102.10]>
In-Reply-To: <20011102204953.D6967@raggedclown.net>
References:  <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> <a05100310b808b104839b@[206.128.102.10]> <20011102204953.D6967@raggedclown.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 8:49 PM +0100 11/2/01, Cliff Sarginson wrote:
>On Fri, Nov 02, 2001 at 03:24:09PM -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
>>
>What do you mean it doesn't work !?
>What happens then..?


The file size that gets created when I cat the files
is smaller than the original file. Here's what I did to test
this out:


1. Here is the original file and size:
-rw-r--r--  1 jim  jim  148281148 Nov  2 15:07 bogey_full.mov

2. The above file was copied into its own directory, than I ran this command:
split bogey_full.mov

3. After split is finished I killed out the original file:
bash-2.05$ rm bogey_full.mov

4. Next I run this command:
bash-2.05$ cat ./* > bogey_full.mov

5. When I check the file after the cat command runs I see that
the reconstituted file is *much* small, plus it no longer works...

bash-2.05$ ls -l bogey_full.mov
-rw-r--r--  1 jim  jim  41399664 Nov  2 15:10 bogey_full.mov
-- 

___________________________________________________________
Jim Arnold  <jarnold@knightridder.com>	Voice: 330.253.9524 x 9-12
Ohio.com Site Administrator		Fax: 330.253.8214
http://www.ohio.com              		Cell: 330.730.0797
AOL IM: instantjim

12 E. Exchange Street - 2nd Fl -- Akron, OH 44308


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?a05100313b808ba9bc433>