企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# B.46 TruncateTask Set the length of one file, as the intermittently available truncate Unix utility/function. Table B.47:聽Attributes NameTypeDescriptionDefaultRequired`file``String`The name of the file.n/aYes`length``Integer`Specifies the new file length (in bytes) to set.n/aNo`adjust``Integer`Specifies the number of bytes (and positive/negative direction) by which to adjust file lengths.n/aNo`create``Boolean`Whether to create nonexistent files.`true`No`mkdirs``Boolean`Whether to create nonexistent parent directories when creating new files.`false`No B.46.1 Examples `<truncate file="foo" />`