How do I open the contents of the contents of a gz file?


  1. Posts : 234
    Windows 10
       #1

    How do I open the contents of the contents of a gz file?


    I have a website backup in a gz file.

    In Windows 7, I could penetrate this file without, I'm pretty sure, any add-on software. I think 7's compressed file tools opened the .gz file fine, and then each subfolder and its contents and subfolders was navigable.

    In Windows 10, I had to install a zip utility - I picked 7zip - and that easily extracted the "contents" of the .gz file. But what I got was a 45 Mb file - not folder - just named with the contents of the archive. No extension. Just "yourarchive" (the name of the actual archive) as a file name. And 7zip can't do anything with this file. Even if I change the extension to zip.

    I think in Windows 7, the gz file would extract to a compressed folder (so name but no extension), that could then be explored.

    So my question is what do I do with this big file-not-folder (that is probably actually a folder) in Windows 10, so that I may explore it?
      My Computer


  2. Posts : 42,984
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    If you wished, you could open the .gz file with 7-zip, create a new folder and extract it to that.

    How do I open the contents of the contents of a gz file?-untitled.png
    Whether you extract a file or files, or a folder containing files, depends on what's in the gz file.

    As to how you view the file extracted- well, that depends on what it is.
    Last edited by dalchina; 21 Aug 2020 at 11:13.
      My Computers


  3. Posts : 582
    Windows 10 Home
       #3

    You may have to use the software that created the backup.

    Ben
      My Computer


  4. Posts : 234
    Windows 10
    Thread Starter
       #4

    dalchina said:
    If you wished, you could open the .gz file with 7-zip, create a new folder and extract it to that.

    How do I open the contents of the contents of a gz file?-untitled.png
    Whether you extract a file or files, or a folder containing files, depends on what's in the gz file.

    As to how you view the file extracted- well, that depends on what it is.
    That's exactly what I'm doing - and it's an intuitive process; done it lots of times before, although evidently never in Windows 10.

    The extraction works fine, and then I'm with a folder, containing a single big file, with the name of my .gz archive.

    And the big file is, if I remember from when I'd do it in Windows 7, actually a folder. In Windows 7 it would show up as a folder that could be explored/navigated.

    Is there a way to modify the attributes of this big file, so that Windows treats it as a folder? That's what I'm thinking I need to solve my problem.
      My Computer


  5. Posts : 42,984
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #5

    Thank you for your reply. As you know, it depends what type of file it is.

    Presently my crystal ball is down for scheduled maintenance, otherwise I could tell you.

    Find out where it came from and what created it.

    Presently your question is akin to 'How long's a piece of string?'
      My Computers


  6. Posts : 31,651
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #6

    asus2016 said:
    .... if I remember from when I'd do it in Windows 7... it would show up as a folder that could be explored/navigated
    Then you must have had a 3rd-party extension installed. I've just tested it and Windows 7 cannot natively open a .gz file.


    How do I open the contents of the contents of a gz file?-image.png
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:29.
Find Us




Windows 10 Forums