Next: , Previous: fid invocation, Up: Top


7 fnid: Looking up filenames

fnid queries the list of file names stored in the ID database. It accepts shell wildcard patterns on the command line. If no pattern is supplied, * is implied. fnid prints the file names that match the given patterns.

fnid prints file names, and as such accepts the `--separator' option as described in File listing options.

For example, the command:

     fnid \*.c

lists all the .c files in the database. (The `\' here protects the `*' from being expanded by the shell.)