1.linux下查找指定后缀的文件
例如查找当前目录下的所有后缀名时.c或.h的文件
find . -type f -regex “.*\.\(c\|h\)”
转载于:https://www.cnblogs.com/dakewei/p/8134857.html
1.linux下查找指定后缀的文件
例如查找当前目录下的所有后缀名时.c或.h的文件
find . -type f -regex “.*\.\(c\|h\)”
转载于:https://www.cnblogs.com/dakewei/p/8134857.html