paw*_*que 12 regex bash shell find
使用bash,如何查找目录结构中除*.xml文件以外的文件?我只是想用
find . -regex ....
regexe:
'.*^((?!xml).)*$'
但没有预期的结果......
还是有另一种方法来实现这一点,即没有正则表达式匹配?
Pep*_*lac 19
find . ! -name "*.xml" -type f
ver*_*ald 9
find . -not -name '*.xml'
应该做的伎俩.
归档时间:
13 年,1 月 前
查看次数:
11040 次
最近记录:
6 年,9 月 前