0. 批量更改文件拓展 0. 批量更改文件拓展例如:将 src目录下的 js 文件类型批量改为 ts 文件。 find src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} ;