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

Powershell is a great scripting language, but when you want to massively delete stuff I strongly suggest you use "robocopy /MIR" with an empty folder as source to be "mirrored". Much faster, better multithreaded performance, decent logging. It will save you a ton of time if we're talking about large and/or numerous files.


/MIR /MT:16

Kick those threads way up.




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

Search: