I must be missing something simple. $ mkdir dir $ ln -s dir link $ rm link/ rm: cannot remove `link/': Not a directory $ rm -f link/ rm: cannot remove `link/': Not a directory $ rm -rf link/ rm: cannot remove `link/': Not a directory $ rmdir link/ rmdir: link/: Not a directory $ rm -rf link/. rm: cannot remove `.' or `..'
Of course I could go 'rm -rf dir' but how do I find the name 'dir' from the symbolic link name 'link'. Cheers. -- 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