1、dyli发现的新大陆命令
rename .h .c *.h
2、根据新大陆命令后,dyli的实践案例
[root@localhost client]# ls
apitest.c client.c client.h main.c Makefile net.c net.h pass.c testmulti.sh test.sh util.h
[root@localhost client]# rename .c .txt *.c
[root@localhost client]# ls
apitest.txt client.h client.txt main.txt Makefile net.h net.txt pass.txt testmulti.sh test.sh util.h
[root@localhost client]#
apitest.c client.c client.h main.c Makefile net.c net.h pass.c testmulti.sh test.sh util.h
[root@localhost client]# rename .c .txt *.c
[root@localhost client]# ls
apitest.txt client.h client.txt main.txt Makefile net.h net.txt pass.txt testmulti.sh test.sh util.h
[root@localhost client]#
看到了吧,哥我牛X吧