zip2 2.0.2
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.0.2
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.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=zip2&version=2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package zip2 --version 2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
zip2
v2.0.2
Example:
zip2 -xf ..\backup.zip -O restore-dir
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 ..]
Specified Example:
Backup files in dir srcDir
, which timestamp is within 2 days, into a new zip file.
dir2 srcDir -bsk --within 2hour | zip2 -cf ..\new.zip -T -
Credit:
- SharpZipLib v1.4.1
- SharpCompress v0.32.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 | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. net9.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Major change
1. Support to list the content of a RAR file.
2. Support to extract content from a RAR file.
3. New options to list file:
-b List filename only
-F DIR List filename if it is found on DIR
-o name Sort by filenmae
--dir-only Show dir only
4. New option to extract file:
--no-dir Remove the original dir