After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773670 - Unpacks archive with single file into subfolder
Unpacks archive with single file into subfolder
Status: RESOLVED DUPLICATE of bug 771418
Product: nautilus
Classification: Core
Component: File and Folder Operations
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-29 13:56 UTC by Bastien Nocera
Modified: 2016-10-29 14:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2016-10-29 13:56:42 UTC
If an archive contains a single file, nautilus is supposed to unpack it in the local folder, not in a sub-directory. However, it will fail to do so if the file contained in the archive has the same name as the archive plus suffix.

For example:
$ unzip -l ~/Downloads/Thomson/blitz.m7.zip 
Archive:  /home/hadess/Downloads/Thomson/blitz.m7.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
    16384  10-07-2001 14:33   blitz.m7
---------                     -------
    16384                     1 file

Unpacking it will create a "blitz.m7" file inside a "blitz.m7" directory, instead of the "blitz.m7" file directly in the directory.
Comment 1 Mohammed Sadiq 2016-10-29 14:06:01 UTC
probably related to bug 771418
Comment 2 Ernestas Kulik 2016-10-29 14:06:56 UTC

*** This bug has been marked as a duplicate of bug 771418 ***