ZPatch 1.1.0
dotnet tool install --global ZPatch --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local ZPatch --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ZPatch&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package ZPatch --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ZPatch
ZPatch is a .NET tool for creating, extracting, and reconstructing patches between ZIP files. This tool is designed to efficiently manage differences between ZIP archives.
Features
- CreatePatch: Generate a patch file representing the differences between two ZIP files.
- ExtractPatch: Extract differences from a patch file and save them to a specified directory.
Installation
To use ZPatch, clone the repository and build the project using Visual Studio or the .NET CLI.
Usage
Run the tool from the command line using the zpatch command. Below are the available commands and their parameters.
CreatePatch
Create a patch file representing the differences between two ZIP files.
Parameters:
-oldZip(String): Path to the original ZIP file.-newZip(String): Path to the modified ZIP file.-patch(String): Path where the patch file will be saved.-useDiff(Bool): If changed files should be diff patches (default: true)
Example:
zpatch createpatch -oldZip "C:\path\to\old.zip" -newZip "C:\path\to\new.zip" -patch "C:\path\to\old.patch.zip"
ExtractPatch
Extract the differences from a patch file to a specified directory.
Parameters:
-oldZip(String): Path to the original ZIP file.-patch(String): Path to the patch file containing differences.-outpath(String): Directory where the extracted files will be saved.
Example:
zpatch extractpatch -oldZip "C:\path\to\old.zip" -patch "C:\path\to\old.patch.zip" -outpath "C:\path\to\new"
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.