Date: Mon, 15 Jan 1996 18:42:30 +0100 From: "Julian H. Stacey" <jhs@vector.jhs.local> To: paul@netcraft.co.uk Cc: phk@freebsd.org, current@freebsd.org Subject: Re: ctm-cvs Message-ID: <199601151742.SAA15242@vector.jhs.local> In-Reply-To: Your message of "Mon, 15 Jan 1996 00:29:20 GMT." <199601150029.AAA03263@originat.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Reference: > From: Paul Richards <paul@originat.demon.co.uk> > > I really shouldn't have tempted fate since ppp core dumped about an > hour later :-( No problem :-) just keep the partial file, & do something like this: localhost: mv cvs-cur.1500A.gz cvs-cur.1500A.gz.1x ls -l cvs-cur.1500A.gz.1x -rw-r--r-- 1 daemon wheel 12345678 Dec 29 20:09 cvs-cur.1500A.gz.1x dc 12345678 512 / p 24112 dd if=cvs-cur.1500A.gz.1x count=24112 of=cvs-cur.1500A.gz.1 rm cvs-cur.1500A.gz.1x freefall: dd if=cvs-cur.1500A.gz skip=24112 of=cvs-cur.1500A.gz.2 ftp cvs-cur.1500A.gz.2 to localhost localhost: cat cvs-cur.1500A.gz.[12] > cvs-cur.1500A.gz to get : 47140400 cvs-cur.1500A.gz The alternative is of course to use ncftp in append mode, but I've never done that, & would tend to distrust a core dumping program to leave a nice uncorrupted tail on a prematurely truncated file, I suggest if you go the append route, you keep a careful note of your first ls -l size, just in case you need to fall back on dd :-) Julian -- Julian H. Stacey jhs@freebsd.org http://www.freebsd.org/~jhs/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601151742.SAA15242>