zip2tar: Convert ZIP to TAR archives

[ archive, bsd3, codec, program ] [ Propose Tags ] [ Report a vulnerability ]

Convert ZIP to TAR archives with minimal memory footprint.

Usage:

zip2tar input.zip >output.tar
zip2tar input.zip | lzip >output.tar.lz

ZIP archives cannot be read in a purely sequential way, because the central file catalogue is stored at the end of the archive file. Thus we do not provide reading ZIP archives from Stdin.

Per default zip2tar stores files in the TAR archive in the same order as the ZIP archive in order to minimize seeking. However this means unsorted filenames. You can order with respect to filenames with the --sort-by-name option.

Per default zip2tar sets user and group ids to zero and names to empty strings, because we do not know what is available on the system where the TAR archive gets unpacked. You may set those values individually like in:

zip2tar --user-name janedoe --user-id 42 --group-name users --group-id 23 input.zip

zip2tar does not try to derive id from name or vice versa. If you want certain values you must set them explicitly. You may want to set the values to the settings of the current system like so:

zip2tar --user-name $USER --user-id $UID --group-name $(id -gn) --group-id $(id -g) input.zip

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0
Dependencies base (>=4.5 && <5), bytestring (>=0.10 && <0.13), conduit (>=1.3 && <1.4), containers (>=0.6 && <0.9), optparse-applicative (>=0.11 && <0.20), tar-conduit (>=0.4.1 && <0.5), time (>=1.0 && <1.16), zip (>=2.2 && <2.3) [details]
License BSD-3-Clause
Author Henning Thielemann
Maintainer haskell@henning-thielemann.de
Uploaded by HenningThielemann at 2026-04-28T11:13:18Z
Category Archive, Codec
Home page https://hub.darcs.net/thielema/zip2tar
Source repo this: darcs get https://hub.darcs.net/thielema/zip2tar --tag 0.0
head: darcs get https://hub.darcs.net/thielema/zip2tar
Distributions
Executables zip2tar
Downloads 4 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2026-04-28 [all 1 reports]