Joerg Johannes <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED]:/tmp/$ find . -type l -exec rm {};

In addition to what others have said, may I suggest the following:

   find . -type l -print0 | xargs -0r rm

It is more efficient as it doesn't spawn a new "rm" process for every
link to be deleted.

Martin


-- 
   ,--.    Martin Dickopp, Dresden, Germany                 ,= ,-_-. =.
  / ,- )   http://www.zero-based.org/                      ((_/)o o(\_))
  \ `-'                                                     `-'(. .)`-'
   `-.     Debian, a variant of the GNU operating system.       \_/


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

Reply via email to