blob: fa28dd2fe97b93c6827aba3a73a5d2b05edce192 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
## Name
truncate
## Synopsis
```sh
$ truncate [--size size] [--reference file] <file>
```
## Options:
* `--help`: Display help message and exit
* `--version`: Print version
* `--complete`: Perform autocompletion
* `-s size`, `--size size`: Resize the target file to (or by) this size. Prefix with + or - to expand or shrink the file, or a bare number to set the size exactly
* `-r file`, `--reference file`: Resize the target file to match the size of this one
## Arguments:
* `file`: File path
<!-- Auto-generated through ArgsParser -->
|