📜  rm 参数列表太长 - 无论代码示例

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

代码示例1
# To delete files when we receive the message "argument list is too long"
# This is the non recursive version

find . -maxdepth 1 -name "*.pdf" -print0 | xargs -0 rm