标签:
#!/bin/bash for i in `ls` do mv $i ${i%%.*}.php done
修改当前目录下所有文件扩展名
原文地址:http://my.oschina.net/u/195896/blog/376423