zip2 2.1.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global zip2 --version 2.1.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local zip2 --version 2.1.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=zip2&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package zip2 --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
zip2
v2.1.0
Example:
zip2 -xf ..\backup.zip -oO restore-dir
zip2 -xf ..\backup2.rar -oO restore-dir2
Specified Example:
Backup files in dir srcDir
, which timestamp is within 2 hours, into a new zip file.
dir2 srcDir -bsk --within 2hour | zip2 -cf ..\new.zip -T -
Syntax:
zip2 -cf NEW-ZIP-FILENAME [OPTION ..] [FILE ..]
zip2 -f FILENAME.zip -tv [OPTION ..] [FILE ..]
zip2 -f FILENAME.rar -tv [OPTION ..] [FILE ..]
zip2 -f FILENAME.zip -x [OPTION ..] [FILE ..]
zip2 -f FILENAME.rar -x [OPTION ..] [FILE ..]
Credit:
- SharpZipLib v1.4.2
- SharpCompress v0.34.2
Remark:
You can install dir2
by dotnet tool install dir2 -g
2021, 2023 (c) Yung, Chun Kau
yung.chun.kau@gmail.com
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.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.
v2.1.0.0
Update to .NET 8
v2.0.2.2
1. Accept wild filename to '--file'. (Windows OS)
e.g. zip2 -tvf obj\backup*.zip
2. Add option "--format" to list and Extract command.
3. Option "--show-crc" is added to List command.
4. Shadow filenames are used to Create and Extract commands.
5. Add option "--no-time" to Exract command.
See <https://github.com/ck-yung/zip2/blob/main/History.txt> for feature history.