Search found 4 matches

by jun
11 Oct 2018 16:46
Forum: Support
Topic: Deleting zeros at the end of the file
Replies: 5
Views: 3962

Re: Deleting zeros at the end of the file

jun wrote:
11 Oct 2018 15:19

Works like a charm. Hope it helps someone else in the future.
Yes it works, only for small files. For large sized files (over 100 mb), select and delete in HxD is still best-fast way :)
by jun
11 Oct 2018 15:19
Forum: Support
Topic: Deleting zeros at the end of the file
Replies: 5
Views: 3962

Re: Deleting zeros at the end of the file

Actually I'd tried with Powershell: (get-content input.img) -replace '\x00+$','' | set-content output.img But it leaves unnecessary bytes at the end: 0D 0A. Today a Powershell user, chrisdent, help me and write this script : Add-Type ' using System.IO; public class File { public static void TrimNull...
by jun
10 Oct 2018 22:10
Forum: Support
Topic: Deleting zeros at the end of the file
Replies: 5
Views: 3962

Re: Deleting zeros at the end of the file

Thank you for reply. Finally I found the right title " Remove null bytes from the end of a large file " This is exactly what I want... Regular expression was used in the response. I guess there are no commands like "sed" in Windows. On the other hand, they said that this process could be dangerous. ...
by jun
10 Oct 2018 04:29
Forum: Support
Topic: Deleting zeros at the end of the file
Replies: 5
Views: 3962

Deleting zeros at the end of the file

Hello! Firstly, thanks for developing. The tool is very useful for me. Especially the search part is great. Sorry for my English, maybe I couldn't choose the right terms. So please change the title, if require. I have this problem very often. It's happening in image files. Sometimes I want to delete...