Date: Fri, 2 Nov 2001 21:32:12 +0100 From: Cliff Sarginson <cliff@raggedclown.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: Splitting a tar archive Message-ID: <20011102213212.A8522@raggedclown.net> In-Reply-To: <a05100313b808ba9bc433@[206.128.102.10]>; from jim@ohio.com on Fri, Nov 02, 2001 at 04:16:31PM -0500 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> <a05100313b808ba9bc433@[206.128.102.10]>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 02, 2001 at 04:16:31PM -0500, Jim Arnold wrote: > 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 > -- > Try it again, using the "-b" option to specify the number of bytes to put in each of the split files. -- Regards Cliff 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?20011102213212.A8522>