马春杰杰 Exit Reader Mode

Linux下批量解压时:filename not matched

当目录下有多个zip文件的时候,我们想批量解压这些文件,可能会出现错误:

ubuntu@part2:~/16T/mcj/$ unzip *.zip
Archive:  annotations-20220607T150243Z-001.zip
caution: filename not matched:  test2017-20220607T150425Z-001.zip
caution: filename not matched:  train2017.zip
caution: filename not matched:  val2017-20220607T085039Z-001.zip

解决:

加上双引号即可,如:unzip "*.zip"

本文最后更新于2022年6月10日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!