Safe way to get "rm dir -rf" working (place options after dir name like on linux)
You can install the GNU version of rm with brew install coreutils. It will install into /usr/local/bin/grm to avoid conflicts with the standard version. But you can easily overcome this by aliasing it to rm for interactive shells.