标签: linux find
答案 0 :(得分:3)
将find工具与maxdepth选项一起使用:
find
maxdepth
find LOG-PATH -maxdepth 1 -regextype "posix-egrep" -regex '.*/PS.*' -type f -exec rm {} \;