truncate

Introduction

This program truncates a file to a given size. The new size can be 2^64-1 maximum. Truncating a new file can be quite a bit faster then using dd if=/dev/zero ... (for a loopback filesystem for example).
Truncate is command-line compatible with the (Free-)BSD version.

Download

Download link:truncate-0.8.tgz
truncate-0.7.tgz
truncate-0.5.tgz

Commercial



Changes

0.8 numerous fixes
0.7 rewrote to function like the BSD version does
0.5 initial release

feedback