Page 1 of 1

Change file size

Posted: 01 Feb 2015, 10:50
by polyakoff
Hi!

I want to ask for a feature: ability to change size of a file.

Usage example: I have damaged files. These files have some data at the beginning and 4GB of rubbish in the tail. It would be great, if Salamander allow to truncate files making specifies size.

Re: Change file size

Posted: 01 Feb 2015, 19:19
by therube
On this page, chsize32.zip.
Similarly the Linux truncate command should work.

Be careful as it takes a file name, size & that's it.
No error checking, no backups...

Anyhow create a "Send To" that calls a batch file, that asks for the wanted size...


I've had cases where "unerased" (recovered) files would have "junk" appended to the wanted data.


> chsize32 "my wedding video.mp4" 0
Oops.

Re: Change file size

Posted: 01 Feb 2015, 19:53
by polyakoff
Thank you!