rust-truncate1
Shrink or extend the size of each file to the specified size.
Usage
truncate [{-o | --io-blocks}]
[{-c | --no-create}]
[{-r | --reference}]
[{-s | --size}]
[{-h | --help}]
[{-V | --version}]
<FILE>
Overview
Shrink or extend the size of each file to the specified size.
Options
-
-o, --io-blocks -
treat SIZE as the number of I/O blocks of the file rather than bytes (NOT IMPLEMENTED)
-
-c, --no-create -
do not create files that do not exist
-
-r, --reference=RFILE -
base the size of each file on the size of RFILE
-
-s, --size=SIZE -
set or adjust the size of each file according to SIZE, which is in bytes unless --io-blocks is specified
-
-h, --help -
Print help
-
-V, --version -
Print version
- <FILE>
Version
v0.0.30
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.
-V since Debian 13 (Trixie);
-h since Debian 13 (Trixie).