What can be used to 'gzip' in Windows?

8

2

gzipped files are awesome! they are the best compressed files I know, .rar and .zip are nowhere near , if you compare the compression ratios...

Generally I use Windows, does anyone know how can I gzip in Windows?? I have severe limits at the attachment sizes here, so anything that compresses more, is better.

Lazer

Posted 2009-09-14T16:58:39.560

Reputation: 13 841

By the way, gzip generally have lower compression rations than rar and 7z (albeit it de/compresses much faster), and it can only compress single files - generally tarballs when archiving (such as myfolder.tar.gz and it's generally suited for servers where you don't want to spend even a tiny bit of extra CPU if not necessary. For archiving I recommend 7z, it has a very good LZMA algorithm. And it's free/open source. – Camilo Martin – 2012-09-26T12:16:31.140

Answers

29

7zip will handle gzip format. It also offers lzma compression which is much better than gzip.

If you want a command-line gzipper just like gzip in linux, try this

Matthew Talbert

Posted 2009-09-14T16:58:39.560

Reputation: 1 131

@Powerlord That's cool, really, but WHY are you parsing ls directly? It does work most of the time, but you should really be using something like find, shouldn't you? – Wyatt8740 – 2016-07-07T23:26:59.160

@Wyatt8740 It was a flat directory structure. Besides, ls -1 doesn't need parsing, you can pass it directly to xargs. – Powerlord – 2016-07-08T06:37:34.233

@Powerlord so ls -1 can handle exotic stuff like newlines in filenames? – Wyatt8740 – 2016-07-10T18:26:17.520

13+1, but 7zip has a command line interface too. I use it for automated backups. – None – 2009-09-14T17:06:05.013

originally used WinRar, but switched to 7zip when I noticed it had shell integration as well. I also use a combinations of bash, nice, ls, xargs, and 7zip to uncompress bzip2 files and recompress them into 7z files on a linux web server (for Team Fortress 2 maps). – Powerlord – 2009-09-14T17:56:43.063