Re: tar cvfz test.tar.gz / gives error while untaring
From: Travis Crump (pretzalz_at_techhouse.org)
Date: 02/29/04
- Previous message: David Clymer: "Re: New paradigm for Linux distributions?"
- In reply to: Oliver Fuchs: "Re: tar cvfz test.tar.gz / gives error while untaring"
- Next in thread: Werner Mahr: "Re: tar cvfz test.tar.gz / gives error while untaring"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 29 Feb 2004 17:53:31 -0500 To: Debian User List <debian-user@lists.debian.org>
Oliver Fuchs wrote:
> On Sun, 29 Feb 2004, s. keeling wrote:
>
>
>>Check the manpage. The "f" switch is used to tell tar that the next
>>parameter is the file to use:
>>
>> tar cvzf test.tar.gz /
>>
>>Instead, cd to someplace with some space, then run it.
>
>
> Yes, that is right ... my fault.
>
>
>>By default, tar doesn't, so you must have done something wrong. Try:
>>
>> cd /
>> tar cvzf /somewhere/test.tgz .
>> cd /somewhere
>> tar tvzf test.tgz
>>
>>Note the "." btw, tarring the whole root dir will tar the entire
>>filesystem, including everything that's mounted off the root
>>filesystem. man tar to find out how not to do that.
>
>
> Yes surely, I did a lot of --exclude=/mnt --exclude=/dev ... that was not the
> problem.
>
> What I do not understand is:
> I am in directory /home/me/TAR_EXAMPLE
> Now I want to tar directory /tmp for example then I do
>
> tar cvzf temp.test.tar.gz /tmp
>
> Afterwards I receive in the directory /home/me/TAR_EXAMPLE the archive
> temp.test.tar.gz which can be untared without any problems.
>
> But ... trying to do
>
> tar cvzf root.test.tar.gz / --exclude=home --exclude=/dev
>
> I receive the archive root.test.tar.gz in directory /home/me/TAR_EXAMPLE
> but trying to untar it gives me the mkdir-error-message.
>
From my tests that error doesn't appear to be fatal and can be ignored.
-- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pgp-signature attachment: OpenPGP digital signature
- Previous message: David Clymer: "Re: New paradigm for Linux distributions?"
- In reply to: Oliver Fuchs: "Re: tar cvfz test.tar.gz / gives error while untaring"
- Next in thread: Werner Mahr: "Re: tar cvfz test.tar.gz / gives error while untaring"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|