GNU bug report logs - #29790
How to extract overridden tarred file

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: gzip; Reported by: narasimha kumar <narasimhakumar1111@HIDDEN>; dated Wed, 20 Dec 2017 20:10:02 UTC; Maintainer for gzip is bug-gzip@HIDDEN.

Message received at 29790 <at> debbugs.gnu.org:


Received: (at 29790) by debbugs.gnu.org; 20 Dec 2017 20:22:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 20 15:22:13 2017
Received: from localhost ([127.0.0.1]:44814 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eRksW-00065T-OK
	for submit <at> debbugs.gnu.org; Wed, 20 Dec 2017 15:22:12 -0500
Received: from mx1.redhat.com ([209.132.183.28]:38158)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eblake@HIDDEN>) id 1eRksU-00064v-SP
 for 29790 <at> debbugs.gnu.org; Wed, 20 Dec 2017 15:22:11 -0500
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com
 [10.5.11.16])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.redhat.com (Postfix) with ESMTPS id 166D7883BA;
 Wed, 20 Dec 2017 20:22:05 +0000 (UTC)
Received: from [10.10.120.109] (ovpn-120-109.rdu2.redhat.com [10.10.120.109])
 by smtp.corp.redhat.com (Postfix) with ESMTP id A19F55C88F;
 Wed, 20 Dec 2017 20:22:04 +0000 (UTC)
Subject: Re: bug#29790: How to extract overridden tarred file
To: narasimha kumar <narasimhakumar1111@HIDDEN>, 29790 <at> debbugs.gnu.org
References: <CAOrVMUR2xn=Lb6JKy7h4Lxv2h19brKdZ2tAD8TMBvDBg9KX2Kw@HIDDEN>
From: Eric Blake <eblake@HIDDEN>
Organization: Red Hat, Inc.
Message-ID: <6fbbf9eb-8403-bbc6-0cec-c88206563238@HIDDEN>
Date: Wed, 20 Dec 2017 14:22:03 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <CAOrVMUR2xn=Lb6JKy7h4Lxv2h19brKdZ2tAD8TMBvDBg9KX2Kw@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
 (mx1.redhat.com [10.5.110.26]); Wed, 20 Dec 2017 20:22:05 +0000 (UTC)
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 29790
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

tag 29790 notabug
thanks

On 12/20/2017 01:21 PM, narasimha kumar wrote:
> Hi when I perform the tar it has tarred but after removing the original
> file.i mistakanley pressed the previous command to tar then it has
> overriden and size showed 45.so pls help me to extract the original or
> tarred file.
> #tar -cvzf server.log.tar.gz server.log
> #ls -ltr-> it showed size 270mb server.log.tar.gz
> And then mistakenly I pressed previous command
> #tar -cvzf server.log.tar.gz server.log
> It showed file is missed
> #ls -ltr-> it shows size 45 server.log.tar.gz
> Please provide me the solution for this

You sent your question to the gzip mailing list, but gzip wasn't 
responsible for your data loss.  While I feel sorry for your loss, 
there's not much I can do beyond pointing you to this coreutils FAQ:

https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#I-used-rm-to-remove-a-file_002e-How-can-I-get-it-back-now_003f

Meanwhile, I'm tagging this thread so that the bug-tracker doesn't keep 
it open as a gzip bug.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org




Information forwarded to bug-gzip@HIDDEN:
bug#29790; Package gzip. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Dec 2017 20:09:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 20 15:09:52 2017
Received: from localhost ([127.0.0.1]:44777 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eRkga-0005aM-19
	for submit <at> debbugs.gnu.org; Wed, 20 Dec 2017 15:09:52 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53184)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <narasimhakumar1111@HIDDEN>) id 1eRjw0-0002Q0-Vd
 for submit <at> debbugs.gnu.org; Wed, 20 Dec 2017 14:21:45 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <narasimhakumar1111@HIDDEN>) id 1eRjvu-0003pk-TD
 for submit <at> debbugs.gnu.org; Wed, 20 Dec 2017 14:21:39 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_20,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:38944)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <narasimhakumar1111@HIDDEN>)
 id 1eRjvu-0003pQ-P9
 for submit <at> debbugs.gnu.org; Wed, 20 Dec 2017 14:21:38 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44131)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <narasimhakumar1111@HIDDEN>) id 1eRjvt-00029r-MU
 for bug-gzip@HIDDEN; Wed, 20 Dec 2017 14:21:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <narasimhakumar1111@HIDDEN>) id 1eRjvs-0003oW-W5
 for bug-gzip@HIDDEN; Wed, 20 Dec 2017 14:21:37 -0500
Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:43335)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <narasimhakumar1111@HIDDEN>)
 id 1eRjvs-0003nn-OV
 for bug-gzip@HIDDEN; Wed, 20 Dec 2017 14:21:36 -0500
Received: by mail-wm0-x22c.google.com with SMTP id n138so11882586wmg.2
 for <bug-gzip@HIDDEN>; Wed, 20 Dec 2017 11:21:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=bG/A2a6N3UOTkOiiywDO+HE0h4FiNo62O9IHiNE9yxs=;
 b=JDsX9cF15oFpEylxfTwFp+bqHWpyiJPyuW5T2tOdHqEOvQS/o8zhNAJEV2dMt673eS
 hRbDSHrL95okremK1Zkxz9I0QG5ObEXlYxQMl6vlV8mNO3RLMisiqCej6F0BZEM97oZb
 J6w3Ch0NPe9mTIj42nkqCiclnm7yhUBG/PvCUMOHs4Bv3kVe8qVuB2wziLieR5kuNpFm
 iky27hAhqoFRwWkqUwkvXI+jKVttkhjNuxiLWXmKNiBQtuDJo8psQYVvA8a3GhjFY8e4
 TfWQPMtNm9gqW+sTLK+V3iBJp1ug9/5INzkmdQqwf7MG5Mq4H2LUA1qDYKcl0+xCl3u9
 jIOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=bG/A2a6N3UOTkOiiywDO+HE0h4FiNo62O9IHiNE9yxs=;
 b=iitf91fzGhLhLKs7feywCYsB1u5jdPiCtJ0d/jXZ9sGSdwo6TwqMQJrvQfn3JMOtdQ
 4BWeeQDQmpezNjnI6i5FVgbia7ge9kUrUrJ3gDkK1+lvDH2lYHl33TH5smqCnubzsVW7
 f+3JBJf+koaekULtiNojiTfYJ85m69J3yItXA0EfjQS/HiLLLR+yyqJzF0Sml12Rh90F
 /+7iiM1WkjUu7jIWbP+GxfIHIpZ1g+0G521PgRyGttPcsNtDV04swq5rbbFei5vqoCPe
 SjnRwREjKiO3ILpaWV9HAJnLFNz2IfWAS7TRvDfaR9hoGRKK/+a/QiPcIUjSlqhx6LF3
 qNKQ==
X-Gm-Message-State: AKGB3mK74rkIhte37v7Hxaa1gF//zZG1q5Pc86YBJFWZqLVoPsVzRqRV
 1+kMhiEOYHB4GYEQkdIeglO9PP0AAK0fPwOgylo=
X-Google-Smtp-Source: ACJfBouiRXDCbKy3VfLf1S5Gbo+UeNhLlbPENdToMQ9pUUyOO52dg6JskecVonqUjfcBF1PMmFwFhrXdZjg4oxwJQnc=
X-Received: by 10.28.236.28 with SMTP id k28mr7240880wmh.120.1513797694545;
 Wed, 20 Dec 2017 11:21:34 -0800 (PST)
MIME-Version: 1.0
Received: by 10.223.158.72 with HTTP; Wed, 20 Dec 2017 11:21:33 -0800 (PST)
Received: by 10.223.158.72 with HTTP; Wed, 20 Dec 2017 11:21:33 -0800 (PST)
From: narasimha kumar <narasimhakumar1111@HIDDEN>
Date: Thu, 21 Dec 2017 00:51:33 +0530
Message-ID: <CAOrVMUR2xn=Lb6JKy7h4Lxv2h19brKdZ2tAD8TMBvDBg9KX2Kw@HIDDEN>
Subject: How to extract overridden tarred file
To: bug-gzip@HIDDEN
Content-Type: multipart/alternative; boundary="001a1146ae50d863960560ca7dac"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 20 Dec 2017 15:09:50 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.8 (---)

--001a1146ae50d863960560ca7dac
Content-Type: text/plain; charset="UTF-8"

Hi when I perform the tar it has tarred but after removing the original
file.i mistakanley pressed the previous command to tar then it has
overriden and size showed 45.so pls help me to extract the original or
tarred file.
#tar -cvzf server.log.tar.gz server.log
#ls -ltr-> it showed size 270mb server.log.tar.gz
And then mistakenly I pressed previous command
#tar -cvzf server.log.tar.gz server.log
It showed file is missed
#ls -ltr-> it shows size 45 server.log.tar.gz
Please provide me the solution for this

--001a1146ae50d863960560ca7dac
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div dir=3D"auto">Hi when I perform the tar it has tarred=
 but after removing the original file.i mistakanley pressed the previous co=
mmand to tar then it has overriden and size showed 45.so pls help me to ext=
ract the original or tarred file.</div><div dir=3D"auto">#tar -cvzf server.=
log.tar.gz server.log</div><div dir=3D"auto">#ls -ltr-&gt; it showed size 2=
70mb server.log.tar.gz</div><div dir=3D"auto">And then mistakenly I pressed=
 previous command</div><div dir=3D"auto">#tar -cvzf server.log.tar.gz serve=
r.log</div><div dir=3D"auto">It showed file is missed</div><div dir=3D"auto=
">#ls -ltr-&gt; it shows size 45 server.log.tar.gz</div><div dir=3D"auto">P=
lease provide me the solution for this</div><div dir=3D"auto"><br></div></d=
iv>

--001a1146ae50d863960560ca7dac--




Acknowledgement sent to narasimha kumar <narasimhakumar1111@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gzip@HIDDEN. Full text available.
Report forwarded to bug-gzip@HIDDEN:
bug#29790; Package gzip. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 20 Dec 2017 20:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.