最快删除大量文件的方法

cd yourdirectory
perl -e 'for(<*>){((stat)[9]<(unlink))}'

参考Efficiently delete large directory containing thousands of files

posted @ 2016-01-19 20:49  格通  阅读(247)  评论(0)    收藏  举报