Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

find with its built-in -delete action would have avoided executing the external rm command millions of times.



well, somehow I missed that when looking for options. I just tried it out, the -delete option is way faster than what I posted before, TIL, thanks.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: