|
NAMEftff - fault tolerant file find utiltiySYNOPSISftff [-#fFhIpq][-t#][start_directory] file_to_findDESCRIPTIONftff recursively descends the directory hierarchy and reports all objects in the file system with a name that approximately matches the given filename.ftff achieves fault tolerance by calculating the so called Weighted Levenshtein Distance. The Levenshtein Distance is defined as the minimum number of character insertions, deletions and replacements that transform a string A into a string B. ftff behaves like 'find start_directory -name file_to_find -print' with the following differences:
OPTIONS
The last argument to ftff is not parsed for options as the program needs at least one file-name argument. This means that ftff -x will not complain about a wrong option but search for the file named -x. EXAMPLEftff samethingThis will e.g. find a file called something or sameting or sum-thing or ... To find all files that start with any prefix, have something like IOComm in between and end on a two letter suffix: ftff '*iocomm.??' To find all files that exactly start with the prefix DuPeg: ftff -0 'dupeg*' BUGSThe wildcards '?' and '*' can not be escaped. These characters function always as wildcards. This is however not a big problem since there is normally hardly any file that has these characters in its name.AUTHORGuido Socher (guido@linuxfocus.org)SEE ALSOwhichman(1) find(1)
Visit the GSP FreeBSD Man Page Interface. |