3.9.38. truncate - truncate files to size¶
3.9.38.1. Usage¶
truncate [-c] -s [+]SIZE FILE...
3.9.38.2. Synopsis¶
Set files to specified size. Missing files are created
unless -c option is used. With -s +SIZE, increase size
by SIZE bytes; with -s SIZE, set absolute size.
3.9.38.3. Options¶
- -c
Do not create files
- -s [+]SIZE
truncate file to SIZE, or increase by +SIZE