How can I remove a directory and all its contents?

Hi, I opened a new thread that I hope makes my problem and what I am looking to do more clear: How can I be certain that my IPFS node is not hosting content X short of `rm -rf ~/.ipfs`?

I think you will find it that it was an necessary option to use.

I am confused as on IRC/Matrix I was told the opposite and to look at ipfs pin rm --help which says ipfs pin rm [--recursive=false] [--] <ipfs-path>...which I take to mean that it defaults to recursive=false and thus is not always recursive when not otherwise specified.