home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!caen!destroyer!gumby!yale!cs.yale.edu!not-for-mail
- From: A. Satish Pai <Pai-Satish@CS.Yale.Edu>
- Subject: Find and symbolic links
- Message-ID: <1epg9qINNfb8@OPAL.SYSTEMSX.CS.YALE.EDU>
- Lines: 28
- Sender: pai@cs.yale.edu
- Nntp-Posting-Host: opal.systemsx.cs.yale.edu
- Organization: Yale University Computer Science Dept., New Haven CT 06520, USA
- Date: Mon, 23 Nov 1992 02:39:54 GMT
-
-
- Hi, everybody!
-
- Is there any workaround/trick/hack/shell-script that can be used to use find in
- such a way that it follows symbolic links and descends down them recursively?
-
- I find it annoying that find doesn't follow links. No doubt there are good
- reasons for making it operate that way but at least there should have been an
- option to override that, IMHO. Why do I want to follow links? Out here, the
- "real" directory structure is some hugely complicated thing that only the
- sysadmins worry about; what users normally see (such as /usr/bin, /homes, etc.)
- are almost all links to something else. I really don't want to run find with
- arguments that look like /u6/old/tmp-sys/usr.bin when what I'm thinking of
- is (say) /usr/bin. Naturally, if I just specify the names I want, find will
- skip entire directories because something at the top happens to be a sym link.
-
- Thanks for any help.
-
- -Satish
-
-
- --
- -------------------------------------------------------------------------------
- Internet: Pai-Satish@CS.Yale.Edu | A. Satish Pai
- UUCP: ...!{uunet,harvard,decvax,ucbvax}!yale!pai |
- Bitnet: Pai@YaleCS | +1 203 432 1217 [Off.]
- Mail: Box 2158, Yale Station, New Haven, CT 06520 | +1 203 776 7069 [Res.]
- -------------------------------------------------------------------------------
-