truncate

version: 0.0.9
truncate [OPTIONS] <FILE>...

Shrink or extend the size of each file to the specified size.

Options

--help, -h

Print help information

--version, -V

Print version information

--io-blocks, -o

treat SIZE as the number of I/O blocks of the file rather than bytes (NOT IMPLEMENTED)

--no-create, -c

do not create files that do not exist

--reference=<RFILE>, -r <RFILE>

base the size of each file on the size of RFILE

--size=<SIZE>, -s <SIZE>

set or adjust the size of each file according to SIZE, which is in bytes unless --io-blocks is specified