Creating .tar.gz archive in Windows

You might somehow want to create a .tar.gz archive package for distribution which can be easily extract on other operating systems such as unix/linux. 7-zip is a freeware file archiver can create a .tar.gz in windows.

1. You need to download and install 7-zip
2. Select the folder that you want to create .tar.gz archive (in my example folder name is "istanbul"). Right click then select "7-Zip" -> "Add to Archive".



3. Choose "Tar" option from the Archive Format menu to create .tar archive



4. Right click your newly created archive (istanbul.tar) then select "7-Zip" -> "Add to Archive" from the menu again to convert your tar archive to .tar.gz. Choose "Gzip" as the "Archive Format".



Note: For maximum compression you can choose "Ultra" for the "Compression Level" and select "258" for the "Word Size"

0 yorum: