Hacker News new | ask | show | jobs
by pixelbeat 4171 days ago
The trailing /* is to delete the directory _contents_ rather than the dir itself. It would be safer to receate the dir as then you can possibly hit some of the inbuilt rm protections