📜  如何将正则表达式添加到 ls - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:49.550000             🧑  作者: Mango

代码示例1
# Use find with -maxdepth 1 to act as ls
# '' contain the regex
find . -maxdepth 1 -regex '*.png'