remove a dir not empty in mac terminal code example Example: terminal delete directory not empty rm -rf myDirectory