Linux find exec 记录

来源:互联网 发布:淘宝恶意退款技巧 编辑:程序博客网 时间:2024/05/16 07:27

find参数exec使用注意:

exec后跟command

终止时需要用 ; 来标识

对于不同系统需要用转义 \;

例子:

find ./ -name "hello_*.txt" -exec python test.py input output \;

0 0
原创粉丝点击