unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* tar compression for dired marked files?
@ 2013-12-09 12:41 Sivaram Neelakantan
  2013-12-10  6:39 ` Alex Kost
  0 siblings, 1 reply; 4+ messages in thread
From: Sivaram Neelakantan @ 2013-12-09 12:41 UTC (permalink / raw)
  To: help-gnu-emacs


Is there any way to compress marked files using tar instead of gzip
when using Z in dired mode?  without using M:!?

 sivaram
 -- 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tar compression for dired marked files?
  2013-12-09 12:41 tar compression for dired marked files? Sivaram Neelakantan
@ 2013-12-10  6:39 ` Alex Kost
  2013-12-10 10:02   ` Sivaram Neelakantan
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Kost @ 2013-12-10  6:39 UTC (permalink / raw)
  To: Sivaram Neelakantan; +Cc: help-gnu-emacs

Sivaram Neelakantan (2013-12-09 16:41 +0400) wrote:

> Is there any way to compress marked files using tar instead of gzip
> when using Z in dired mode?  without using M:!?

AFAIU using gzip is hard-coded in `dired-compress-file'.

I didn't understand what you mean by "M:!" (maybe "M-!" for
shell-command), but if you want to create one tar file from marked files
you can use:
! tar -cf out.tar *




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tar compression for dired marked files?
  2013-12-10  6:39 ` Alex Kost
@ 2013-12-10 10:02   ` Sivaram Neelakantan
  2013-12-11  6:24     ` Kevin Rodgers
  0 siblings, 1 reply; 4+ messages in thread
From: Sivaram Neelakantan @ 2013-12-10 10:02 UTC (permalink / raw)
  To: help-gnu-emacs

On Tue, Dec 10 2013,Alex Kost wrote:


[snipped 4 lines]

>
> AFAIU using gzip is hard-coded in `dired-compress-file'.
>
> I didn't understand what you mean by "M:!" (maybe "M-!" for
> shell-command), but if you want to create one tar file from marked files
> you can use:
> ! tar -cf out.tar *

yes, I meant M-!,


 sivaram
 -- 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tar compression for dired marked files?
  2013-12-10 10:02   ` Sivaram Neelakantan
@ 2013-12-11  6:24     ` Kevin Rodgers
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2013-12-11  6:24 UTC (permalink / raw)
  To: help-gnu-emacs

On 12/10/13 3:02 AM, Sivaram Neelakantan wrote:
> On Tue, Dec 10 2013,Alex Kost wrote:
>
>
> [snipped 4 lines]
>
>>
>> AFAIU using gzip is hard-coded in `dired-compress-file'.
>>
>> I didn't understand what you mean by "M:!" (maybe "M-!" for
>> shell-command), but if you want to create one tar file from marked files
>> you can use:
>> ! tar -cf out.tar *
>
> yes, I meant M-!,

And if you actually want to compress the resulting archive as indicated by the
subject: ! tar -cZf out.tar.Z

or: ! tar -czf out.tar.gz

-- 
Kevin Rodgers
Denver, Colorado, USA




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-11  6:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-09 12:41 tar compression for dired marked files? Sivaram Neelakantan
2013-12-10  6:39 ` Alex Kost
2013-12-10 10:02   ` Sivaram Neelakantan
2013-12-11  6:24     ` Kevin Rodgers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).