我想找到任何号码的文件扩展名,请你帮忙。
/大盘.104, /大盘.102, /大盘.101, /大盘.103
以下所需的输出
`find <Path>/log -type f -name "dp.[0-9]+" `
此致,普拉文
使用find的-regex选项:
-regex
find /path -type f -regex '.*/dp\.[0-9]+'