【发布时间】:2014-02-27 09:00:18
【问题描述】:
我需要插入
mtllib mesh.mtl
我所有的 .obj 文件中的行。目录结构是
Product1/
product1.obj
product1.mtl
Product2/
product2.obj
product2.mtl
然后我应该将 product*.obj / product*.mtl 分别重命名为 mesh.obj / mesh.mtl。
如何通过 shell 脚本做到这一点?
【问题讨论】: