mac terminal delete folders not empty code example Example: terminal delete directory not empty rm -rf myDirectory