Date: Tue, 15 Sep 1998 08:28:42 +0200 From: "Jose M. Megias Sanchez" <jms@caja-granada.es> To: "Kenneth Chiu" <chiuk@cs.indiana.edu> Cc: <freebsd-questions@FreeBSD.ORG> Subject: RE: Problem extracting files with tar Message-ID: <01bde072$15084900$00008282@jms>
next in thread | raw e-mail | index | archive | help
Yes, the leading / was stripped from the file names in my tar archive. When
I use the command
tar xvfbz root@mulhacen:/dev/nrst0 20
I see the following:
-r--r--r-- root/wheel 3425 Jul 22 08:16 1998 COPYRIGHT
drwxr-xr-x bin/bin 0 Sep 1 11:44 1998 bin/
-r-xr-xr-x bin/bin 57344 Jul 22 08:10 1998 bin/cat
-r-xr-xr-x bin/bin 45056 Jul 22 08:10 1998 bin/chio
-r-xr-xr-x bin/bin 53248 Jul 22 08:10 1998 bin/chmod
-r-xr-xr-x bin/bin 61440 Jul 22 08:10 1998 bin/cp
-r-xr-xr-x bin/bin 249856 Jul 22 08:10 1998 bin/csh
-r-xr-xr-x bin/bin 139264 Jul 22 08:10 1998 bin/date
-r-xr-xr-x bin/bin 61440 Jul 22 08:10 1998 bin/dd
-r-xr-sr-x bin/operator 53248 Jul 22 08:10 1998 bin/df
What can I do now?. Thank you.
-----Mensaje original-----
De: Kenneth Chiu <chiuk@cs.indiana.edu>
Para: Jose M. Megias Sanchez <jms@caja-granada.es>
CC: freebsd-questions@FreeBSD.ORG <freebsd-questions@FreeBSD.ORG>
Fecha: Lunes 14 de Septiembre de 1998 19:45
Asunto: Re: Problem extracting files with tar
>Is it because the leading / was stripped from the file names in your
>tar archive?
>
>On Mon, 14 Sep 1998, Jose M. Megias Sanchez wrote:
>> 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.
>>
>>
>>
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the message
>>
>
>
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?01bde072$15084900$00008282>
