Skip to content

Instantly share code, notes, and snippets.

@AmanuelCh
Last active January 20, 2025 14:04
Show Gist options
  • Save AmanuelCh/ad24a7bb960dd824b0cb2fa580c9da6c to your computer and use it in GitHub Desktop.
Save AmanuelCh/ad24a7bb960dd824b0cb2fa580c9da6c to your computer and use it in GitHub Desktop.
How to extract ZIP files with parts (.zip01, .zip02, etc) for linux, windows and mac

Extracting multi-part ZIP files (like .zip01, .zip02, etc.) can be done using different methods depending on the operating system. Below are instructions for Linux, Windows, and macOS.

Linux

  1. Using the unzip command:

    • First, ensure you have unzip installed. You can install it using your package manager if it's not already installed:
    sudo apt-get install unzip # For Debian/Ubuntu
    sudo yum install unzip      # For CentOS/RHEL
    • Navigate to the directory containing your ZIP files:
    cd /path/to/your/files
    • Use the unzip command on the first part of the ZIP file:
    unzip zipfile.zip01
    • The unzip command will automatically detect and extract all parts of the split archive.

Windows

  1. Using WinRAR:

    • Download and install WinRAR if you don't have it already.
    • Navigate to the folder containing your multi-part ZIP files.
    • Right-click on the first part of the archive (e.g., zipfile.zip01) and select "Extract Here" or "Extract to zipfile\".
    • WinRAR will automatically extract all parts of the archive.
  2. Using 7-Zip:

    • Download and install 7-Zip.
    • Navigate to the folder with your ZIP files.
    • Right-click on the first part of the archive (e.g., zipfile.zip01), go to the 7-Zip menu, and select "Extract Here" or "Extract to zipfile\".
    • 7-Zip will handle the extraction of all parts.

macOS

  1. Using The Unarchiver:

    • Download and install The Unarchiver from the Mac App Store.
    • Open The Unarchiver and set it to handle ZIP files if prompted.
    • Navigate to the folder with your ZIP files in Finder.
    • Double-click on the first part of the archive (e.g., zipfile.zip01).
    • The Unarchiver will extract all parts automatically.
  2. Using Terminal:

    • Open Terminal.
    • Navigate to the directory containing your ZIP files:
    cd /path/to/your/files
    • Use the unzip command on the first part:
    unzip zipfile.zip01
    • This should extract all parts of the archive.

General Note

When extracting multi-part ZIP files, always make sure that all parts are present in the same directory. The extraction tools rely on having all parts available to successfully extract the contents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment