最快刪除大量文件的方法

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

參考Efficiently delete large directory containing thousands of filesspa

相關文章
相關標籤/搜索