I run the following command in Terminal on my OS X Snow Leopard laptop:
rm -rf /path/to/directory
Normally, this deletes the directory and all contents/subdirectories. For some reason, though, it now gives the following error message:
rm: –rf: No such file or directory rm: /path/to/directory: is a directory
I'd be grateful if somebody could share why rm doesn't recognize '-rf' as an option string?