1
2
find . -name '*.png' -type f -print -exec rm -rf {} \;
find . -type f -name "*.log" -print0 | xargs -0 rm -f

指定一个替换字符串 {}

XRSec has the right to modify and interpret this article. If you want to reprint or disseminate this article, you must ensure the integrity of this article, including all contents such as copyright notice. Without the permission of the author, the content of this article shall not be modified or increased or decreased arbitrarily, and it shall not be used for commercial purposes in any way