Joerg Johannes wrote:
I'd like to delete all symbolic links in a directory. I thought I'm smart and use find for that instead of doing it manually. OK. The find man page says (snipped):
...
jorg@localhost:/tmp/$ find . -type l -exec rm {};
should do what I want. But I get an error message saying
find: Missing argument for "-exec".
Hi. You should just need to escape the trailing ';'
find . -type l -exec rm {} \;