How to uncompress .xml.gz in windows?

若如初见. 提交于 2019-12-25 03:19:34

问题


I wrote a script to generate the sitemaps for my website, and then compress the files to .gz. Everything seems to be ok, since google can read the urls from the files. But when I download them by accessing them through the corresponding url in the production enviroment (linux), and then open them with winrar (in my local pc), I get garbage, like it was a binary file or something.

The same thing works fine in my development enviroment (windows), so it seems to be an OS-dependant thing.

Any ideas how to solve this?


回答1:


Have you tried 7-zip or Winzip. Both have support for gz according to their manufacturer websites.



来源:https://stackoverflow.com/questions/6261012/how-to-uncompress-xml-gz-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!