From: Lars Ingebrigtsen Date: Thu, 21 Jan 2021 16:08:28 +0000 (+0100) Subject: Add dired support for compressing .pax files X-Git-Tag: emacs-28.0.90~4167 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=de761b58f091b11221469b796394e23b34685991;p=emacs.git Add dired support for compressing .pax files * lisp/dired-aux.el (dired-compress-files-alist): Add support for compressing .pax files (bug#40135). --- diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 5a96742fda9..f860743a066 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -1168,7 +1168,8 @@ ARGS are command switches passed to PROGRAM.") ("\\.tar\\.bz2\\'" . "tar -cf - %i | bzip2 -c9 > %o") ("\\.tar\\.xz\\'" . "tar -cf - %i | xz -c9 > %o") ("\\.tar\\.zst\\'" . "tar -cf - %i | zstd -19 -o %o") - ("\\.zip\\'" . "zip %o -r --filesync %i")) + ("\\.zip\\'" . "zip %o -r --filesync %i") + ("\\.pax\\'" . "pax -wf %o %i")) "Control the compression shell command for `dired-do-compress-to'. Each element is (REGEXP . CMD), where REGEXP is the name of the