[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non-interactive extracting the contents of a tar-file
From: |
Stefan Monnier |
Subject: |
Re: non-interactive extracting the contents of a tar-file |
Date: |
Tue, 28 Jun 2005 03:18:26 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> 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)?
The gunzipping needs to be done by an external program, but the untarring
can be performed by Emacs itself. See install.el for an example of how you
can do that using tar-untar-buffer. It's pretty untested code, tho.
Stefan