From owner-freebsd-questions Mon Sep 14 10:31:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA08956 for freebsd-questions-outgoing; Mon, 14 Sep 1998 10:31:06 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA08951 for ; Mon, 14 Sep 1998 10:31:02 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.1/8.9.1) id MAA15718; Mon, 14 Sep 1998 12:30:23 -0500 (CDT) Message-ID: <19980914123023.A15668@emsphone.com> Date: Mon, 14 Sep 1998 12:30:23 -0500 From: Dan Nelson To: "Jose M. Megias Sanchez" , freebsd-questions@FreeBSD.ORG Subject: Re: Problem extracting files with tar References: <01bddfe3$1e96a000$00008282@jms> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.2i In-Reply-To: <01bddfe3$1e96a000$00008282@jms>; from "Jose M. Megias Sanchez" on Mon Sep 14 15:25:19 GMT 1998 X-OS: FreeBSD 2.2.7-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Sep 14), Jose M. Megias Sanchez said: > Hello, After update my system to FreeBSD 2.2.7-STABLE I obtained a copy > with tar to tape with the following command: > tar --block-compress -z -c -f root@mulhacen:/dev/nrst0 20 /* > > How do I can extract some files from the tape?, I'll try the command: > tar xvfbz root@mulhacen:/dev/nrst0 20 '/usr/sbin/ppp*' > and I obtain the following answer: > tar: /usr/sbin/ppp* not found in archive > > Could someone help me?. Thanks in advance. Tar strips leading /'s when it creates archives. Try extracting "usr/sbin/ppp*" and see what happens. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message