truncate <FILE...>
Shrink or extend the size of a file to the specified size
Arguments
Name | Description |
---|---|
FILE | filepaths |
Options
Name | Description |
---|---|
--no-create, -c | Do not create any files |
--io-blocks, -o | Treat SIZE as number of IO blocks instead of bytes |
--reference, -r <RFILE> | Base size on RFILE |
--size, -s <SIZE> | Set or adjust the file size by SIZE bytes |
--help | Show help for truncate |
--version | Output version information and exit |