Tuesday, December 11, 2012
Don't extract gz file with tar command.
Usually when I unzip tar.gz file, I use this command: tar -zxvf file1.tar.gz. But this time is a gz file, tar command doesn't work that way. I tried gunzip, the file is extracted but the content gone weird. Then I try gzip -d file1.log.gz, check on the content, it looks perfect.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment