On Wed, Jan 03, 2007 at 03:20:09PM +1100, Penedo wrote: > Sorry Simon, I was going to pass but then I saw readlink(1), so something > like: > > readlink -fe link | xargs -0r rm -rf > > Should do the trick.
Well spotted! I had never noticed readlink before. It will indeed do the trick. Also removes the problem of spaces and other specials in the names. Thanks. -- Norman Gaywood, Systems Administrator University of New England, Armidale, NSW 2351, Australia Please avoid sending me Word or Power Point attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
