Menu

#47 tar + rar support

open
nobody
None
5
2020-05-12
2020-04-29
No

Can you add tar (tgz,tbz2,tlz,txz) and rar support?

Related

Feature Requests: #47

Discussion

  • Sam Tansy

    Sam Tansy - 2020-05-08

    Rar support is on all teh time, so to speak. You need to have Rar.so in your p7zip Codecs directory (where 7z.so is, usually /usr/lib/p7zip or /usr/local/lib/p7zip), which is provided with p7zip istallation.

    $ find /usr/lib/p7zip
    /usr/lib/p7zip/7z
    /usr/lib/p7zip/7z.so
    (...)
    /usr/lib/p7zip/Codecs
    /usr/lib/p7zip/Codecs/Rar.so
    

    I don't know how to extract .tar.gz/bz2/lz/xz, in one step - it's more of a question to 7zip discussion/help.

    And last, what dit you mean by .tlz? Tar.lzma or tar.lz? If .tar.lzma then see above, 7z can decompress lzma alone files; if .tar.lz then you'll need to patch your p7zip yourself. Check 7zip section on lzip savannah. If that patch is not applying (it's for 7zip-16.04 but should work with p7zip-16.02 as it creates one file and adds it to makefile) then try one I made myself for p7zip-16.02 (in attachment, read README and ignore step 2).

     

    Last edit: Sam Tansy 2020-05-08
    • Thomas Bodlien

      Thomas Bodlien - 2020-05-09

      When trying to create a rar archive I get the following error message on macOS 10.15.4:

      7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
      p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)
      System ERROR:
      E_NOTIMPL

      When trying to create a tgz (tar.gz) archive I get this error message:

      7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
      p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)

      Scanning the drive:
      142 folders, 1381 files, 79949509 bytes (77 MiB)

      Creating archive: /Volumes/RAM Disk/test.tgz

      Items to compress: 1523
      System ERROR:
      E_INVALIDARG

      On 8. May 2020, at 22:29, Sam Tansy tansy@users.sourceforge.net wrote:

      Rar support is on all teh time, so to speak. You need to have Rar.so in your p7zip Codecs directory (where 7z.so is, usually /usr/lib/p7zip or /usr/local/lib/p7zip).

      $ find /usr/lib/p7zip
      /usr/lib/p7zip/7z
      /usr/lib/p7zip/7z.so
      (...)
      /usr/lib/p7zip/Codecs
      /usr/lib/p7zip/Codecs/Rar.so
      I don't know how to extract .tar.gz/bz2/lz/xz, in one step - it's more of a question to 7zip discussion/help https://sourceforge.net/p/sevenzip/discussion/.

      And last, what dit you mean by .tlz? Tar.lzma or tar.lz? If .tar.lzma then see above, 7z can decompress lzma alone files, it .tar.lz then you'll need to patch your p7zip yourself. Check 7zip section http://download.savannah.nongnu.org/releases/lzip/7zip/ on lzip savannah.

      [feature-requests:#47] https://sourceforge.net/p/p7zip/feature-requests/47/ tar + rar support

      Status: open
      Group: Next Release (example)
      Created: Wed Apr 29, 2020 05:38 PM UTC by Thomas Bodlien
      Last Updated: Wed Apr 29, 2020 05:38 PM UTC
      Owner: nobody

      Can you add tar (tgz,tbz2,tlz,txz) and rar support?

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/p7zip/feature-requests/47/ https://sourceforge.net/p/p7zip/feature-requests/47/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/

       

      Related

      Feature Requests: #47

  • Sam Tansy

    Sam Tansy - 2020-05-12

    E_NOTIMPL means it's not implemented. You can't create rar archive with any tool other than rar. That's their (rarlabs) policy and license.
    You can unpack, no problem, but create only with their tool/s. You have to read the license.

    Don't know whta's with your tar-ball. Show me you command line.

    PS. Would you mind to not attach original message if you don't relate to it? That will keep it tidy and not scare with volume to read. And when you do, just quote relevant fragment, not the whole message. I can read and can see what I wrote before.

     

Log in to post a comment.