Skip to content

[REQ] extracting unknown formats (was: support for tar file with .spk extension) #1022

Closed

Description

@gingerbeardman

Is your feature request related to a problem? Please describe

Tried to extract a .spk Synology package file, which is a known archive file format but unknown to Keka as it uses a different file extension.

Describe the solution you'd like

Keka should know how to extract it, or be able to guess.

Describe alternatives you've considered

The Unarchiver, which already knows how to handle .spk files.

Additional context

Maybe file command can be used to inspect the contents of a file and be able to guess if it's of a supported type? The worst outcome is that the file still cannot be expanded, the best outcome is that the file is expanded when no explicit support!

For example, SPK is in fact a simple TAR file with a different file extension.

$ file synokernel-cdrom_broadwell-6.2.3_1.0-1.spk
synokernel-cdrom_broadwell-6.2.3_1.0-1.spk: POSIX tar archive (GNU)

Of course, explicit support is needed to add Keka to the context menu (open with) for a particular file type. Would it help to take a look at all the file extensions supported by The Unarchiver?

Activity

  1. aonez commented on Jan 24, 2022

    @aonez
    Owner

    Can you share a sample file? Keka already has format detection that detects various types or TAR packages, I’m not sure why is not detecting that one.

  2. aonez commented on Jan 24, 2022

    @aonez
    Owner

    Already found some :)

  3. aonez commented on Jan 24, 2022

    @aonez
    Owner

    I've downloaded one random from here https://archive.synology.com/download/Package and they don't seem to be TAR packages. Can you share one?

  4. gingerbeardman commented on Jan 24, 2022

    @gingerbeardman
    ContributorAuthor

    Indeed Keka does exract this, not sure what i did wrong/different earlier.

    So I guess it would always be nice to add more file extensions so Keka shows up on the Open With... menu.

  5. aonez commented on Jan 24, 2022

    @aonez
    Owner

    So I guess it would always be nice to add more file extensions so Keka shows up on the Open With... menu.

    Sure! I'll add this one to the supported list.

    Seems that newer SPK archives are compressed in another way. For example:

    The newer 1.0.2 is no more a TAR.

  6. aonez commented on Jan 24, 2022

    @aonez
    Owner
  7. added this to the Look at milestone on Jan 24, 2022
  8. modified the milestones: Look at, 1.2.53 on Feb 16, 2022
  9. aonez commented on Apr 1, 2022

    @aonez
    Owner

    1.2.53 up handling spk by default :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions