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: Eli Zaretskii
Subject: Re: master 6d6bf46 2/2: Make dired-do-compress work for *.tar.gz files
Date: Fri, 16 Oct 2015 16:23:42 +0300

> From: Oleh Krehel <address@hidden>
> Cc: Glenn Morris <address@hidden>,  address@hidden
> Date: Fri, 16 Oct 2015 12:44:59 +0200
> 
> Eli Zaretskii <address@hidden> writes:
> 
> >>   uncompress-prog | tar
> >
> > (You mean "compress-prog", I think.  This is about compressing.)
> >
> > I agree.
> >
> >> and simply assume that "uncompress-prog" is present (like the command
> >> does now, I guess).
> >
> > Yes, and it's not a separate assumption: Tar runs that program as well
> > to uncompress the tarball, so if that program is missing, "tar -caf"
> > won't work as well.
> 
> OK, is this what you want for compression:
> 
>     tar -c example/ | gzip -c9 > example.tar.gz

Yes.

> And this for decompression:
> 
>     gzip -dc example.tar.gz | tar -x

Yes (except that you could use gunzip.)

> I think it would be productive if everyone just wrote down the explicit
> shell command they want with all the relevant switches.

I don't understand: who are those "everyone" that you want to write
the commands?



reply via email to

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