导航

2013年10月23日

摘要: 一.rename解决1. Ubuntu系统下rename 's/\.c/\.h/' ./*把当前目录下的后缀名为.c的文件更改为.h的文件2. CentOS5.5系统下rename .c .h *.c把当前目录下的后缀名为.c的文件更改为.h的文件二.shell 脚本解决#!/bin/bash#http://blog.csdn.net/longxibendifind ./ -name *.c | while read ido echo "$i"; mv $i.c $i.hdone三.find xargs 解决find ./ -name "*.c&q 阅读全文

posted @ 2013-10-23 00:23 勇敢的炮灰 阅读(456) 评论(0) 推荐(0)