From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: non-interactive extracting the contents of a tar-file Date: 28 Jun 2005 18:12:32 +1000 Message-ID: <87hdfic32n.fsf@tiger.rapttech.com.au> References: Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1119949768 25934 80.91.229.2 (28 Jun 2005 09:09:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2005 09:09:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 28 11:09:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DnC5X-0002zK-PF for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jun 2005 11:09:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnCBN-0001dX-Q6 for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jun 2005 05:15:05 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 60 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp1-192.lns1.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1119946353 59.167.1.192 (28 Jun 2005 17:42:33 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!pln-w!lotsanews.com!newsfeed1.mlpsca01.us.to.verio.net!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:132213 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:27689 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27689 Peter Dyballa writes: > Am 27.06.2005 um 12:23 schrieb Klaus Berndl: > > > Is it possible with tar-mode (or other already existing elisp-code), to > > extract the full contents of a tar-file to a certain directory (or > > at least to > > default-directory)? > > There is an easier work-around in Emacs shell: > > cd > tar xf > > -- > Mit friedvollen Grüßen > > Pete > > Either this man is dead or my watch has stopped. - Groucho Marx > Or from dired, hit ! ,----[ C-h f dired-do-shell-command RET ] | dired-do-shell-command is an interactive compiled Lisp function in `dired-aux'. | (dired-do-shell-command COMMAND &optional ARG FILE-LIST) | | Run a shell command COMMAND on the marked files. | If no files are marked or a specific numeric prefix arg is given, | the next ARG files are used. Just C-u means the current file. | The prompt mentions the file(s) or the marker, as appropriate. | | If there is output, it goes to a separate buffer. | | Normally the command is run on each file individually. | However, if there is a `*' in the command then it is run | just once with the entire file list substituted there. | | If there is no `*', but a `?' in the command then it is still run | on each file individually but with the filename substituted there | instead of at the end of the command. | | No automatic redisplay of dired buffers is attempted, as there's no | telling what files the command may have changed. Type | M-x dired-do-redisplay to redisplay the marked files. | | The shell command has the top level directory as working directory, so | output files usually are created there instead of in a subdir. | | In a noninteractive call (from Lisp code), you must specify | the list of file names explicitly with the FILE-LIST argument. `---- Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!