emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 6d6bf46 2/2: Make dired-do-compress work for *.tar.gz files


From: Glenn Morris
Subject: Re: master 6d6bf46 2/2: Make dired-do-compress work for *.tar.gz files
Date: Fri, 16 Oct 2015 12:26:41 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Oleh Krehel wrote:

> OK, is this what you want for compression:
>
>     tar -c example/ | gzip -c9 > example.tar.gz
>
> And this for decompression:
>
>     gzip -dc example.tar.gz | tar -x

Where the (un)compress prog could perhaps be looked up in the existing
dired-compress-file-suffixes. AFAIK, all such commands use "-c" for
compatibility with each other, so that probably doesn't need to be an
option. So the only new config entry needed would be the tar command.
Wrt creating the archive, either make the compression scheme a custom
option, or a separate step (which would probably require "make a
tarfile" to be a separate command).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]