From owner-freebsd-questions Tue Dec 8 08:09:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA12070 for freebsd-questions-outgoing; Tue, 8 Dec 1998 08:09:44 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from finsco.com (ns1.finsco.com [205.241.191.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA12061 for ; Tue, 8 Dec 1998 08:09:40 -0800 (PST) (envelope-from billh@finsco.com) Received: from finsco.com by finsco.com (SMI-8.6/SMI-SVR4) id KAA23445; Tue, 8 Dec 1998 10:07:34 -0600 Message-ID: <366D4F56.4F7D3A9E@finsco.com> Date: Tue, 08 Dec 1998 10:09:58 -0600 From: Bill Hamilton X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd questions Subject: tar Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This should be an easy question for someone that uses tar alot. I was trying to recover the *.dist files into /etc/mtree that I clobbered by accident (don't ask). I used the bin.?? from my /dos/freebsd/bin directory from the install to do a cat bin.?? | tar -vtzf - | grep etc/mtree and it displayed the files. But when I do this: cat bin.?? | tar -vxzf - etc/mtree/BSD* -C /etc/mtree the first file is displayed, but nothing gets written to disk. The remaining files are not displayed. What is wrong with my tar statement? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message