Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 1998 12:30:23 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        "Jose M. Megias Sanchez" <jms@caja-granada.es>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Problem extracting files with tar
Message-ID:  <19980914123023.A15668@emsphone.com>
In-Reply-To: <01bddfe3$1e96a000$00008282@jms>; from "Jose M. Megias Sanchez" on Mon Sep 14 15:25:19 GMT 1998
References:  <01bddfe3$1e96a000$00008282@jms>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980914123023.A15668>