Set the length of one file, as the intermittently available truncate Unix utility/function.
Table B.53: Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
file | String | The name of the file. | n/a | Yes |
length | String | Specifies the new file length (in bytes) to set.
The following suffixes are supported:
| n/a | No |
adjust | String | Specifies the number of bytes (and positive/negative
direction) by which to adjust file lengths.
The same suffixes are supported for this attribute as for
the length attribute. | n/a | No |
create | Boolean | Whether to create nonexistent files. | true | No |
mkdirs | Boolean | Whether to create nonexistent parent directories when creating new files. | false | No |