From: Tim X <timx@spamto.devnul.com>
Subject: Re: non-interactive extracting the contents of a tar-file
Date: 28 Jun 2005 18:12:32 +1000 [thread overview]
Message-ID: <87hdfic32n.fsf@tiger.rapttech.com.au> (raw)
In-Reply-To: mailman.1302.1119869779.2857.help-gnu-emacs@gnu.org
Peter Dyballa <Peter_Dyballa@Web.DE> 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 <some directory>
> tar xf <some tar file>
>
> --
> 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!
next prev parent reply other threads:[~2005-06-28 8:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-27 10:23 non-interactive extracting the contents of a tar-file Klaus Berndl
2005-06-27 10:51 ` Peter Dyballa
[not found] ` <mailman.1302.1119869779.2857.help-gnu-emacs@gnu.org>
2005-06-27 11:11 ` Klaus Berndl
2005-06-27 11:33 ` Peter Dyballa
2005-06-28 8:16 ` Tim X
2005-06-28 8:42 ` Klaus Berndl
2005-06-28 9:36 ` Peter Dyballa
2005-06-28 8:12 ` Tim X [this message]
2005-06-27 19:30 ` J. Alejandro Noli
2005-06-28 7:18 ` Stefan Monnier
2005-06-28 8:39 ` Klaus Berndl
2005-06-28 17:02 ` Edward O'Connor
-- strict thread matches above, loose matches on Subject: below --
2005-06-27 11:47 klaus.berndl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hdfic32n.fsf@tiger.rapttech.com.au \
--to=timx@spamto.devnul.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.