Skip to content
This repository has been archived by the owner on Oct 31, 2022. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 731 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 731 Bytes

tar2zip

Utility to convert tar.(gz|bz2) files to ZIP files

When working on Windows, I prefer to deal with ZIP files over tar.gz archives. It's just nicer, since ZIP files are integrated into the Explorer by default, without needing to install any programs like 7-zip.

Since Go comes with packages for tar and zip, it was very easy to throw together this converter. Now, when I get a typical tar archive, I can just convert it and go about my business.

Go Get

You should be able to install this program by saying:

go get github.com/rwtodd/Go.Tar2Zip/cmd/tar2zip

Usage:

tar2zip [-verbose] infile1 infile2 ...

The verbose flag causes the program to write a line about every converted file in the archives