这是非常基本的,我有一个文件夹,其中包含几个 JS 文件的子文件夹,我想对这些文件夹中的所有文件运行 Google 的 Clojure 编译器。处理单个文件的命令如下:
java -jar compiler.jar --js filename.js --js_output_file newfilename.js
如何修改它以在我的目录结构中的每个 JS 文件上运行?
command-line shell bash recursive wildcards
bash ×1
command-line ×1
recursive ×1
shell ×1
wildcards ×1