Unable to decrompress archive containing folders (compressed with 7zip)
- Dominant language
- JavaScript
- Stars
- 419
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
i have some troubles decrompressing a zip file that contains folders. It seems only to be a problem if the file was created using 7zip (on Windows). If I create the archive with the build in windows tool everything works fine.
My archive looks something like that:
```
archive
- somefolder
- - someotherfile
- somefile
```
Results in:
```
outputfolder
- somefolder ---> **this is a empty file now**
- somefile
```
I guess its a problem with decrompess and not with 7zip (other decrompessing tools are working fine with my example archive).
Example: [archive_from_7zip.zip](https://github.com/kevva/decompress/files/7978785/archive_from_7zip.zip)
PS: For me it is currently not a problem, I just wanted to inform you about this behaviour.
Thanks & BG Manuel
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the extraction problem with the attached archive_from_7zip.zip and inspect how its folder entries are handled. Done means the folder is created as a directory rather than an empty file, and its nested file extracts correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100