Re: tar cvfz test.tar.gz / gives error while untaring
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Sonntag, 29. Februar 2004 20:42 schrieb Oliver Fuchs:
> I want to tar my whole / directory.
>
> I do
> tar cvfz test.tar.gz /
> and afterwards trying to untar the directory I receive the error-message:
> tar::Cannot mkdir: No such file or directory
>
> Typing tar tf test.tar the list shows me:
>
> /
> /boot
> /root
> [...]
>
> I do not understand why tar is adding the first entry "/" to the archieve
> and I cannot find a way how to prevent tar from doing this.
Try
cd /
tar cvfz test.tar.gz .
- --
MfG usw.
Werner Mahr
registered Linuxuser: 295882
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAQkg61jkT71DQrmARAsyZAJ9p5HqHvQ/gWW1pRO5ARZuFCnrk5gCgnXgy
l/M39l/9kCPT9pE7oeO2PEE=
=YMzq
-----END PGP SIGNATURE-----
Reply to: