mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Add support for tar.bz2 and tar.xz archives
* lisp/dired-aux.el (dired-compress-files-alist): Add support for tar.bz2 and tar.xz archives.
This commit is contained in:
parent
66f0622a3d
commit
972493658b
1 changed files with 2 additions and 0 deletions
|
|
@ -921,6 +921,8 @@ ARGS are command switches passed to PROGRAM.")
|
|||
|
||||
(defvar dired-compress-files-alist
|
||||
'(("\\.tar\\.gz\\'" . "tar -c %i | gzip -c9 > %o")
|
||||
("\\.tar\\.bz2\\'" . "tar -c %i | bzip2 -c9 > %o")
|
||||
("\\.tar\\.xz\\'" . "tar -c %i | xz -c9 > %o")
|
||||
("\\.zip\\'" . "zip %o -r --filesync %i"))
|
||||
"Control the compression shell command for `dired-do-compress-to'.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue