2012-05-30 4 views

ответ

3

Используйте find инструмент с maxdepth вариант:

find LOG-PATH -maxdepth 1 -regextype "posix-egrep" -regex '.*/PS.*' -type f -exec rm {} \; 
Смежные вопросы