Dired-atool is an utility to pack/unpack files with atool on dired.
- Emacs 24 or later
You can install dired-atool from MELPA or MELPA Stable by following steps:
-
Setup the Emacs built-in package manager to use MELPA or MELPA Stable.
MELPA's documentation is here. -
Install dired-atool.
M-x package-install dired-atool
Call dired-atool-setup in your init.el like below:
(dired-atool-setup)or M-x dired-atool-setup.
dired-atool-setup sets key bindings of dired-mode-map below:
| key | command |
|---|---|
| z | dired-atool-do-unpack |
| Z | dired-atool-do-pack |
You can also set key bindings manually like below:
(require 'dired)
(define-key dired-mode-map "z" #'dired-atool-do-unpack)
(define-key dired-mode-map "Z" #'dired-atool-do-pack)The versioning of dired-atool follows Semantic Versioning 2.0.0.
This unpacks file(s) selected/marked on dired.
This is an unpacking command like dired-atool-do-unpack.
But this always unpacks file(s) into the current directory.
This is an unpacking command like dired-atool-do-unpack.
But this makes subdirectories in the current directory and unpacks
files into them.
This packs file(s) selected/marked on dired.