find参数exec使用注意:
exec后跟command
终止时需要用 ; 来标识
对于不同系统需要用转义 \;
例子:
find ./ -name "hello_*.txt" -exec python test.py input output \;
微信扫一扫
find参数exec使用注意:
exec后跟command
终止时需要用 ; 来标识
对于不同系统需要用转义 \;
例子:
find ./ -name "hello_*.txt" -exec python test.py input output \;
相关推荐