I'm trying to run a find
command for all JavaScript files, but how do I exclude a specific directory?
(我正在尝试为所有JavaScript文件运行find
命令,但是如何排除特定目录?)
Here is the find
code we're using.
(这是我们正在使用的find
代码。)
for file in $(find . -name '*.js')
do
java -jar config/yuicompressor-2.4.2.jar --type js $file -o $file
done
ask by helion3 translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…