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):

...

[EMAIL PROTECTED]:/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 {} \;



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to