Sunday, January 9, 2022

Trailing Nulls Trimmer Batch package

Wanted to trim trailing nulls from a biggish partition file. Didn't find a good ready made tool for it, so I made one. Uses grep to find the last non null character and then truncates the file after it.

Updated: Now works also when the file contains only nulls. Backup notice added.

 ----------------------------------------------------
 Trailing Nulls Trimmer Bat by CXZa
 https://cxzstuff.blogspot.com/
 ----------------------------------------------------
 Usage: To trim, drop a file to be Trailing Nulls
        Trimmed over this batch file. To restore
        the nulls, run another batch file created.
   Tip: Put bat's shortcut into the SendTo-folder.
 
 Backup the file before using this if it's important!
 ----------------------------------------------------
 Press any key to close this window . . . 


Download: https://disk.yandex.com/d/AANoB70KnVgwnw



Saturday, January 1, 2022

GNU-ddrescue for Windows

Cygwin GNU-ddrescue and blkid made into an easy portable package - you know why....

Download links: GNU-ddrescue-1.25-1_win32.zip and GNU-ddrescue-1.25-1_win64.zip

Some other options: HDD Raw Copy Tool, rawcopy (it's there somewhere), common dd, etc.

Have fun! (if you can really...)