Date: Mon, 6 Jan 2003 10:12:39 +1030 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Phillip Smith <phillip@3bags.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: help! Problems with TAR archives? Message-ID: <20030105234239.GA86831@wantadilla.lemis.com> In-Reply-To: <BA3CF4FB.35FC%phillip@3bags.com> References: <Pine.BSF.4.05.10301041849160.9226-100000@buffnet11.buffnet.net> <BA3CF4FB.35FC%phillip@3bags.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 4 January 2003 at 20:30:52 -0500, Phillip Smith wrote: > on 1/4/03 6:50 PM, Stephen Hovey at shovey@buffnet.net wrote: >> On Sat, 4 Jan 2003, Phillip Smith wrote: >>> Wondering what (if anything) can be done about this? >>> >>> freedom# tar -xf www.tar >>> tar: Skipping to next file header... >>> tar: Unknown file type '' for >>> 8˟ܫ[+n_}M2žV28(Uvjuש, extracted as normal file >>> tar: Skipping to next file header... >>> >>> I don't understand what's happened to this archive (and serveral >>> others that represent my entire system backup)? I'm having the >>> same problem with a whole set of archives that I ftp to a remote >>> Windows machine... the ones I stored on my other FreeBSD machine >>> are fine. Did something happen during the transfer? >>> >>> Also, for each archive, the first few items are extracted properly and then >>> there all this junk... any thought _really_ appreciated. If these are >>> corrupt, I've lost a pile of data. >>> >>> Many thanks in advance, >> >> windows ftp defaults to ascii more, not binary, so its adds a \r to each >> \n - you might save your tar files if you upload ascii to get them >> stripped out again. > > Would it be possible to use a script to achieve the same outcome? No, you don't know which \rs have been added. > I've tried re-uploading/downlaoding the files in multiple modes, to > no avail. It should work with binary transfer. > Also, I ftp'd these files TO a Windows box FROM my BSD box, so I > believe that the default mode for that would be binary? What does ftp say? > Are there any other reasons this may have happened? Any way to test? I can't think of any other. It's a traditional problem. You can test by comparing the size of the archives on each side. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers 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?20030105234239.GA86831>
