How can I tell unix "find" to include in it's recursive search a folder which is softlinked?
+6
A:
-L . This causes it to follow all symbolic (I assume this is what you mean by soft) links.
Matthew Flaschen
2008-12-22 07:21:03
A:
Interesting - I hadn't come across '-L
' (or the opposite, '-H
') before. You can also use '-follow
' to do the same job. It can be built into expressions (it always evaluates to true), so you might be able to be more subtle with it that using '-L
'. However, I wouldn't worry about that subtlety too much - the '-L
' is simpler.
Jonathan Leffler
2008-12-22 08:19:46
A:
find some more information about unix find command at
http://scripterworld.blogspot.com/2009/07/unix-find-command-with-examples-and.html