xargs和重定向同时使用

find /data/ -name test.log  -size +10G  | xargs  -i sh -c "echo > {} "

posted @   侃豺小哥  阅读(590)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示