linux下查找指定后缀的文件

1.linux下查找指定后缀的文件

例如查找当前目录下的所有后缀名时.c或.h的文件

find  .  -type f -regex  ".*\.\(c\|h\)"

posted @ 2017-12-28 11:35  Jello  阅读(32919)  评论(0编辑  收藏  举报