Saturday, 23 December 2017
Windows, and missing my rm -rf
Whilst I know that things like PowerShell gives me Unix-like capabilities on Windows, I was looking for a Q&D solution.
All I wanted to do was to remove an entire directory structure.
Back in the day, we had deltree but that appears to have gone in later versions of Windows.
However, we do have rmdir which does the job, as per this example: -
rmdir C:\IBM /S/Q
whereas my muscle memory would be do use this: -
rm -Rf /IBM
In the words of the prophet, good luck with that.