find 命令不区分大小写

Posted on Posted in command
# 方法一
find ./ -name "f[Oo][Oo]" -print
# 方法二
find ./ -name "f[a...b][A...C]o" -print
# 方法三 -iname 参数忽略大小写
find ./ -iname "foo"
» 转载请注明来源:若我若鱼 » find 命令不区分大小写

Leave a Reply

Your email address will not be published. Required fields are marked *

fifteen − ten =