在 SSIS 中解压 .tar.gz 文件 [英] Unzip .tar.gz files in SSIS
问题描述
我有一个 .tar.gz
文件.现在我需要用 SSIS 包解压这些文件.以前在 For each container 和 script 任务的帮助下对 .zip
文件进行了解压缩和删除.不确定如何对 .tar.gz
文件执行此操作.有什么帮助吗?
I have a .tar.gz
file. Now i need to unpack these files with SSIS package. Previously did unzip and delete for .zip
files with the help of For each container and script task. Not sure how to do it for .tar.gz
files. Any help?
推荐答案
您可以使用执行流程任务来实现此(或使用来自脚本任务的流程),但您必须安装一个 ZIP7Zip
或 Winzip
等应用程序.并使用命令行压缩或解压缩档案.
You can use an execute process task to achieve this (or using process from Script task), but you have to install a ZIP application like 7Zip
or Winzip
or else. And use command line to Zip or Unzip archives.
点击以下链接之一了解更多详情:
Follow one of these links for more details:
这篇关于在 SSIS 中解压 .tar.gz 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!