Date: Sat, 27 Jul 1996 00:21:57 -0700 (PDT) From: Annelise Anderson <andrsn@andrsn.stanford.edu> To: freebsd-questions@freebsd.org Subject: Deleting a Link Farm Message-ID: <Pine.BSI.3.94.960727001606.11359B-100000@andrsn.stanford.edu>
next in thread | raw e-mail | index | archive | help
I've had /usr/ports linked to /cdrom/ports with lndir; in addition to the symbolic links, quite a few regular files also existed in various directories. I couldn't find any direct way to remove the links lndir created, so I used find to find symbolic links and remove them, then found the regular files and moved them, and finally used rm -R to get rid of all the empty directories. Is there an easier way, or a way to remove only empty directories and leave those with regular files? Annelise
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960727001606.11359B-100000>