在SSIS中解压缩.tar.gz文件 [英] Unzip .tar.gz files in SSIS

查看:170
本文介绍了在SSIS中解压缩.tar.gz文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 .tar.gz 文件。现在,我需要使用SSIS包解压缩这些文件。以前在For Each容器和脚本任务的帮助下,对 .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?

推荐答案

您可以使用执行过程任务来实现此(或使用脚本任务中的过程),但是您必须安装ZIP应用程序,例如 7Zip 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:

  • Zip a folder using SSIS
  • 7Zip command line examples
  • What command line parameters does WinZip support?

这篇关于在SSIS中解压缩.tar.gz文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆