#98 Files from subdirectories are extracted to main directory


I tried to extract a 7zip archive which contained a couple of subdirectories and some files within them. However, 7z extracted everything directly to the main directory, ignoring directory tree hierarchy.

What I was supposed to get:


What I got after extracting:


There were about 5000 files in the archive, so I had a lot of careful deleting, and the entire content with lost subdirectory hierarchy was completely useless.

The "corrupted" archive can be dowloaded from here: http://www.filefactory.com/file/b26787f/n/BaseSet_12-2-2010.7z (it's quite big - 87 MB, this is why I'm not adding it as an attachment).

Extract command:
7z e BaseSet_12-2-2010.7z

Operating system:
Arch Linux - x86_64

P7zip version: 9.04


  • my p7zip

    my p7zip - 2010-02-28

    I didn't try your archive.

    But , if you want to keep the pathname, try :
    7z x BaseSet_12-2-2010.7z

    the "e" command always extract files without their pathname ...

  • my space

    my space - 2010-05-29
    • status: open --> closed-works-for-me

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks