mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-08 20:58:58 +00: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
@ -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…
x
Reference in New Issue
Block a user