Skip to content

PPadgett/ZipFileSplitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Quality Gate Codecov GitHub issues Gitleaks Badge PowerShell

ZipFileSplitter PowerShell Module

Overview

ZipFileSplitter is a PowerShell module that provides functions to split large ZIP files into smaller parts and to merge these parts back into a single ZIP file. This is especially useful when you need to send large files over email or other services that enforce file size limits.

Features

  • Split-ZipFile: Splits a specified ZIP file into multiple parts of a defined chunk size (default is 15MB).
  • Merge-ZipPart: Merges multiple .zippart files back into a single ZIP file.

Installation

  1. Clone or Download the Repository:

    git clone https://github.com/YourUsername/ZipFileSplitter.git
  2. Copy the Module File:

    Place the ZipFileSplitter.psm1 file in one of your PowerShell module directories or keep it in a folder of your choice.

  3. Import the Module in PowerShell:

    Import-Module -Name "C:\Path\To\ZipFileSplitter.psm1"

    Replace C:\Path\To\ZipFileSplitter.psm1 with the actual path where you saved the file.

Usage

Splitting a ZIP File

To split a large ZIP file into smaller parts (15MB by default):

Split-ZipFile -InputZip "C:\Path\To\LargeArchive.zip" -OutputFolder "C:\Path\To\OutputFolder" -ChunkSize 15728640

Merging ZIP Parts

To merge the split parts back into a single ZIP file:

Merge-ZipPart -PartsFolder "C:\Path\To\OutputFolder" -OutputZip "C:\Path\To\MergedArchive.zip"

Contributing

Contributions are welcome! Please fork the repository and submit pull requests. If you find any issues, feel free to open an issue.

About

A PowerShell module to split large ZIP files into smaller parts and merge them back for easier file sharing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors