On 2010-03-02 at 19:17:47 [+0100], Matt Madia <mattmadia@xxxxxxxxx> wrote: > On Tue, Mar 2, 2010 at 13:01, Stephan Assmus <superstippi@xxxxxx> wrote: > > On 2010-03-02 at 18:36:08 [+0100], mattmadia@xxxxxxxxx wrote: > >> Author: mmadia > >> AddExpanderRuleToHaikuImage "application/x-xz" : .tar.xz > >> - : "xz -dc \\0045s | tar tvf -" > >> - : "xz -dc \\0045s | tar xvf -" > >> + : "tar -Jtvf \\0045s" > >> + : "tar -Jxvf \\0045s" > >> ; > > > > This seems still wrong (the mime-type). > > > >> AddExpanderRuleToHaikuImage "application/x-xz" : .txz > >> + : "tar -Jtvf \\0045s" > >> + : "tar -Jxvf \\0045s" > > Should the .tar.xz, .txz be "" , similar to ExpanderRules.cpp for > .tar.bz2, .tar.gz & .tgz? > > Or maybe "application/x-xz-compressed-tar", which came up a few times > in web queries. Ups, I overlooked tar.*x*z. Sorry. All fine then, probably. Best regards, -Stephan