Bash - 解压缩:找不到命令

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16658678/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 23:44:42  来源:igfitidea点击:

Bash - unzip: command not found

bashshellcygwinsh

提问by Aparna

I am trying to unzip the file in particular folder and i am getting a "unzip command not found" error.

我正在尝试将文件解压缩到特定文件夹中,但出现“未找到解压缩命令”错误。

I am using Cygdrive to run my bash script

我正在使用 Cygdrive 运行我的 bash 脚本

#!/bin/bash
for dir in ./"$WORKING"/*
do
    unzip '*'
done

回答by Steven Penny

The package is unzip

包裹是 unzip

setup -nqP unzip

or use the GUI.

或使用图形用户界面。

in the wild

在野外