Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Linux 中,我想查找名称与myName. 我正在尝试使用正则表达式,但我不工作:
myName
find . -type f -name '*(?<!myName)*'
我的错误在哪里?
谢谢。
这对你有用吗?
find . -type f ! -name '*myName*'