Linux 查找文件并删除文件内容

find * ./ |while read file; do echo ''>$file; done

 

posted @ 2016-06-02 14:50  joshua317  阅读(523)  评论(0编辑  收藏  举报