You are here

Chi-Yu's blog

Creating a .tar.gz file with 7-Zip

7-Zip - Creating a tar.gz file - Part 1I'm in the process of bringing my MyMiniCity Dynamic Signature script to SourceForge. While creating the download archives, I came across a very simple and yet very interesting question:

How do I create a ".tar.gz" file using 7-Zip on Windows?

On Linux, I would simply run:

tar cfz archive.tar.gz folder

When using 7-Zip on Windows, this process is a little bit more complicated.

As a GZIP compressed archive can contain only one file, 7-Zip won't offer you GZIP compression if you try to compress a folder or multiple files at once. When you choose TAR, you can't select any compression algorithm.

7-Zip - Creating a tar.gz file - Part 2The trick is, that you have to create a TAR archive first. You can then put that single TAR file into 7-Zip and it will finally offer you the ability to compress that file using GZIP.

The result is an archive with the .tar.gz extension which is exactly what you wanted to do.

That's another example how something that needs several mouse clicks on Windows needs a single line on a Linux shell.

Just a random blog

It seems I managed to install Drupal and create my first content. So far so boring.

I noticed that posting tweets on Twitter is a nice and quick way to let people know what I'm currently doing but it won't let me go into details because of the 140 characters limit. This is why I needed a weblog, also known as blog.

From now on, you will have yet another place to read about the life of someone you don't even know and there is probably no reason why you should spend another second on this rather useless website.

But maybe, one day in the future, this blog will be filled with tons of information and solutions to problems I encountered in my life.

And maybe I'll write a few words about furries and why they are not what you think they are. But that's another story.

Pages

Subscribe to RSS - Chi-Yu's blog
served by kangaroo.random-host.com