【发布时间】:2011-01-23 09:42:25
【问题描述】:
我有一个 ZIP 文件目录(在 Windows 机器上创建)。我可以使用unzip filename手动解压它们,但是如何通过shell解压当前文件夹中的所有ZIP文件呢?
使用 Ubuntu Linux 服务器。
【问题讨论】:
-
对于 powershell 中的 windows:Get-ChildItem 'path to folder' -Filter *.zip | Expand-Archive -DestinationPath '提取路径' -Force
标签: linux shell wildcard unzip