【发布时间】:2015-03-02 14:27:15
【问题描述】:
在 Cygwin 64bit 中,我有这个命令可以执行我想要的操作:
$ find -name '*.zip' | wc -l
90
我尝试将结果传递给解压缩,使用Find all zips, and unzip in place - Unix中的方法:
$ find -name '*.zip' -execdir unzip -t '{}' ';' | wc -l
...random paths with the error continuing from "central" filename version...
17605 #?!?, why not 90 like before?
欣赏一些针对这个小问题的智慧。
【问题讨论】: