GNU Info

Info Node: (find.info)Symbolic Links

(find.info)Symbolic Links


Next: Hard Links Up: Links
Enter node , (file) or (file)node

Symbolic Links
--------------

 - Test: -lname pattern
 - Test: -ilname pattern
     True if the file is a symbolic link whose contents match shell
     pattern PATTERN.  For `-ilname', the match is case-insensitive.
     Note: Shell Pattern Matching, for details about the PATTERN
     argument.  So, to list any symbolic links to `sysdep.c' in the
     current directory and its subdirectories, you can do:

          find . -lname '*sysdep.c'

 - Option: -follow
     Dereference symbolic links.  The following differences in behavior
     occur when this option is given:

        * `find' follows symbolic links to directories when searching
          directory trees.

        * `-lname' and `-ilname' always return false.

        * `-type' reports the types of the files that symbolic links
          point to.

        * Implies `-noleaf' (Note: Directories).


automatically generated by info2www version 1.2.2.9