Tar.gz is the most common format of Linux and UNIX, several commands can be compressed into the tar.gz format, but this format is not uncommon in Windows, WinRAR, WinZip and other mainstream compression tools can be released, but not packaged generation. But tar.gz is very common on the server side, because Server system Linux accounts for a significant portion. As a result, many of the Web developers accustomed to Windows may encounter this compression format when uploading Web sites to space. How to generate a tar.gz compressed package, "7-zip" This software can be very convenient to solve this problem.
The steps are as follows:
After installing 7-zip, right-click on the file you want to package, there will be a 7-zip submenu bar, similar to WinRAR and WinZip right-click menu. Then choose "7-zip", "Add to Compressed Archives", in the pop-up window there is a "compressed format" option, there is no tar.gz format, it doesn't matter, there is a tar format, the first step is to first press into the TAR format.
Second, after successfully packaging the tar file, you may find that the tar package is the same as the original file size, that is, the tar itself is not compressed, but simply packaged into a single tar file. So you need to do a second step, and then in this tar file right-click, select "7-zip", "Add to the compressed file", this time the pop-up window to see "Compression format options", found that there are two more than just did not, including "GZip", yes, This step is to continue compressing the tar file into gzip. After selecting the "GZip" format, the final result is a new tar.gz format file.
Tested, compatible with a variety of software, uploaded to the server is no problem. The whole process of mouse flow, completely without knocking what command line. Now, get tar.gz done under Windows.
Win under package into tar.gz