gz file recovery

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Post Reply
Message
Author
Corner514
Posts: 1
Joined: 05 Jun 2018, 09:55

gz file recovery

#1 Post by Corner514 » 05 Jun 2018, 10:12

When I recover gz files from my disk, I found the length of the recovered files is not correct,the end of the file is filled with a lot of zero.How could
correct the file length?
Thanks a log.

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 4340
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: gz file recovery

#2 Post by cgrenier » 06 Jun 2018, 06:37

You can try to recompress the files, something like

Code: Select all

zcat file.gz|gzip - > new_file.gz
But usually junk data at the end of the gz file isn't a real problem.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests