Scroll to navigation

truncate(1) General Commands Manual truncate(1)

NAME

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

SYNOPSIS

truncate [-o|--io-blocks] [-c|--no-create] [-r|--reference] [-s|--size] [-h|--help] [-V|--version] <FILE>

DESCRIPTION

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

OPTIONS

treat SIZE as the number of I/O blocks of the file rather than bytes (NOT IMPLEMENTED)
do not create files that do not exist
base the size of each file on the size of RFILE
set or adjust the size of each file according to SIZE, which is in bytes unless --io-blocks is specified
Print help
Print version
<FILE>

VERSION

v0.0.26

truncate 0.0.26