企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# C.109 UntarTask The `UntarTask` unpacks one or more tar archives. Table C.143:聽Attributes NameTypeDescriptionDefaultRequired`file``String`Archive filenamen/aNo`todir``String`Directory to unpack the archive(s) tononeYes`removepath``String`Path to remove from files in the archive(s)noneNo`forceExtract``Boolean`When set to false, only extract files if the destination does not exist yet or is older than the archive. When set to true, always extract files.`false`No`preservePermissions``Boolean`When set to true, preserve permissions (mode, uid, gid) as set in the tar file..`false`No C.109.1 Example ``` <untar file="testtar.tar.gz" todir="dest"> <fileset dir="."> <include name="*.tar.gz"/> <include name="*.tar"/> </fileset> </untar> ``` C.109.2 Supported Nested Tags - `fileset`