Change file size

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
User avatar
polyakoff
Translator
Translator
Posts: 26
Joined: 26 May 2010, 08:11
Contact:

Change file size

Post by polyakoff » 01 Feb 2015, 10:50

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.

therube
Posts: 610
Joined: 14 Dec 2006, 06:22

Re: Change file size

Post by therube » 01 Feb 2015, 19:19

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.
WinXP Pro SP3 or Win7 x86 | SS 2.54

User avatar
polyakoff
Translator
Translator
Posts: 26
Joined: 26 May 2010, 08:11
Contact:

Re: Change file size

Post by polyakoff » 01 Feb 2015, 19:53

Thank you!

Post Reply