From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: dired-do-compress does not *uncompress* .tgz or .tar.gz files Date: Thu, 4 Sep 2014 13:38:30 -0700 (PDT) Message-ID: <8e86d301-5f9a-464d-af5d-77f74077a3ee@default> References: <87lhpzs9k3.fsf@vsl28t2g.ww011> <87ha0nkuio.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1409863148 7092 80.91.229.3 (4 Sep 2014 20:39:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2014 20:39:08 +0000 (UTC) To: Michael Heerdegen , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 04 22:39:02 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XPdo5-0005cT-Mk for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2014 22:39:01 +0200 Original-Received: from localhost ([::1]:54065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPdo4-00032m-Vi for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2014 16:39:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPdnl-00031C-W9 for help-gnu-emacs@gnu.org; Thu, 04 Sep 2014 16:38:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPdnd-000707-9C for help-gnu-emacs@gnu.org; Thu, 04 Sep 2014 16:38:41 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:45557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPdnd-000703-2T for help-gnu-emacs@gnu.org; Thu, 04 Sep 2014 16:38:33 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s84KcVdY026831 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 4 Sep 2014 20:38:32 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s84KcVPd028600 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Sep 2014 20:38:31 GMT Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s84KcUDY018905; Thu, 4 Sep 2014 20:38:30 GMT In-Reply-To: <87ha0nkuio.fsf@web.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99649 Archived-At: > > am I missing something? When pressing Z in dired on a X.tgz file > > dired-do-compress does not uncompress the file instead it > > compresses it to an X.tar file even though the function advertises > > also to uncompress files. >=20 > I think that mechanism is by intent limited to single files. But a > tar archive can hold a whole directory tree. A couple of people have already explained that a tar archive is uncompressed, and X.tar is the correct result of uncompressing X.tgz. As for `Z': you can apply it to any number of files, not just a single file. Just mark the files to be compressed, then `Z'. But I guess you (Michael) meant something different by "limited to single files".