From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-devel@gnu.org
Subject: Re: master 6d6bf46 2/2: Make dired-do-compress work for *.tar.gz files
Date: Wed, 14 Oct 2015 20:51:19 +0200 [thread overview]
Message-ID: <87wpupqo60.fsf@Rainer.invalid> (raw)
In-Reply-To: 83lhb5xw5w.fsf@gnu.org
Eli Zaretskii writes:
>> From: Oleh Krehel
>> This will be harder to fix, since I've only ever dealt with .tar.gz
>> archives (and .zip sometimes). Could someone provide the relative
>> extraction commands for .tar.bz2, .tar.xz, and .tar?
>
> For .tar.bz2, uncompress with bunzip2 to get .tar, for .tar.xz,
> uncompress with unxz to get .tar. Is that what you wanted?
This is what a reasonably recent GNU tar offers:
--8<---------------cut here---------------start------------->8---
Compression options:
-a, --auto-compress use archive suffix to determine the compression
program
-I, --use-compress-program=PROG
filter through PROG (must accept -d)
-j, --bzip2 filter the archive through bzip2
-J, --xz filter the archive through xz
--lzip filter the archive through lzip
--lzma filter the archive through lzma
--lzop filter the archive through xz
--no-auto-compress do not use archive suffix to determine the
compression program
-z, --gzip, --gunzip, --ungzip filter the archive through gzip
-Z, --compress, --uncompress filter the archive through compress
--8<---------------cut here---------------end--------------->8---
As long as the suffix is recognized by tar, the selection of the
uncompress flavor is automatic even without "-a" and you need just "-a"
for the creation of archives (which is nice since I never remember if I
need -j or -J). But as Paul said, different (and mostly older) tar
implementations often do not support those operations or in a different
way.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
next prev parent reply other threads:[~2015-10-14 18:51 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20151013135354.28594.43074@vcs.savannah.gnu.org>
[not found] ` <E1Zm01b-0007SW-BB@vcs.savannah.gnu.org>
2015-10-13 18:28 ` master 6d6bf46 2/2: Make dired-do-compress work for *.tar.gz files Glenn Morris
2015-10-13 18:38 ` Paul Eggert
2015-10-14 7:58 ` Oleh Krehel
2015-10-14 15:17 ` Paul Eggert
2015-10-14 7:56 ` Oleh Krehel
2015-10-14 16:16 ` Eli Zaretskii
2015-10-14 18:51 ` Achim Gratz [this message]
2015-10-14 19:02 ` Eli Zaretskii
2015-10-15 13:07 ` Oleh Krehel
2015-10-15 15:55 ` Eli Zaretskii
2015-10-15 19:46 ` Achim Gratz
2015-10-15 16:48 ` Glenn Morris
2015-10-15 17:06 ` Eli Zaretskii
2015-10-16 10:44 ` Oleh Krehel
2015-10-16 13:23 ` Eli Zaretskii
2015-10-16 13:47 ` Oleh Krehel
2015-10-16 14:35 ` Eli Zaretskii
2015-10-20 8:59 ` Oleh Krehel
2015-10-20 14:57 ` Eli Zaretskii
2015-10-21 7:57 ` Oleh Krehel
2015-10-21 15:04 ` Oleh Krehel
2015-10-21 16:28 ` Eli Zaretskii
2015-10-22 10:59 ` Oleh Krehel
2015-10-20 22:51 ` Juri Linkov
2015-10-21 8:00 ` Oleh Krehel
2015-10-16 15:35 ` Paul Eggert
2015-10-16 16:11 ` Eli Zaretskii
2015-10-16 16:26 ` Glenn Morris
2015-10-16 12:11 ` Oleh Krehel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wpupqo60.fsf@Rainer.invalid \
--to=stromeko@nexgo.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.