Re: xz archives

  • From: Charles A Edwards <eslrahc@xxxxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Sun, 27 Nov 2011 00:04:09 -0500

On Sun, 27 Nov 2011 05:24:46 +0100
Liviu Andronic <landronimirc@xxxxxxxxx> wrote:

> >> Currently a lot of people are switching to XZ archives (Opera [1],
> >> LyX, etc.). Should we add support for this filetype in emel?  
> >
> >
> > It is already supported and has been since emelfm2-0.7.3
> >  
> Hmm.. I have 0.8.0 and no file type 'xz' or 'tar.xz'. Old config?


Well I had already added that file type prior to 0.7.3 so I guess it's
possible that xz support was only added in the pack/unpack plugin.

At any rate here is the entry from my config


xz tarballs||
        |extensions|
                |tar.xz|
                |txz|
        |commands|
                |_Unpack|>xz -d -c %f \| tar -xf -
                |Unpack in _other panel|panes.refreshsuspend;>xz -d -c
%f \|tar -C %D -xf -;panes.refreshresume |plugin:Unpack|file.unpack
                |_List contents|>xz -d -c %f \| tar -xf -


   

    Charles



-- 
I'm a nuclear submarine under the polar ice cap and I need a Kleenex!
----------------------
Mageia release 2 (Cauldron) for x86_64$
On SuperSize....http://www.eslrahc.com
Registered Linux user #182463
3.0.8-tmb-server-1.mga2 x86_64
----------------------

Other related posts: