Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-POSIX.1-1988 (i.e. v7) tar #70

Open
karissajacobsen opened this issue Aug 16, 2018 · 0 comments
Open

Pre-POSIX.1-1988 (i.e. v7) tar #70

karissajacobsen opened this issue Aug 16, 2018 · 0 comments

Comments

@karissajacobsen
Copy link
Owner

Hi,
I have an issue while opening an old tar.bz file, it seems that the problem is that the https://github.com/sindresorhus/file-type library cannot recognize the "tar" format becouse it is pre-posix.1-1988 version and there is no "magic number" for such files. You can follow the issue I opened with that library here:
sindresorhus/file-type#76
However, if I bypass the file check in the plugin decompress-tar the tarStream seems to extract correctly the files. I think that adding a new option called "legacyTar" is a good compromise.
I'm going to add a pool request soon, for the module and also for the following plugins:
https://github.com/kevva/decompress-tar
https://github.com/kevva/decompress-tarbz2
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant