Hi, May I suggest a "weak" criteria for finding files "close" to a pattern (for instance, according to Levenshtein distance between strings http://www.merriampark.com/ld.htm)
My need is rather classical: I have some broken symlinks, that point to files that are moved now. I would appreciate a tool able to helps me to find the new name of files on which it should point to... old names and new names should be "close"...
Regards Christophe
Thanks for the suggestion.
I don't think this should be implemented specifically in mlocate: depending on the specific application and usage case, different algorithms (with different parameters and matching thresholds) might be useful.
I'd suggest dumping the list of all visible files by running e.g. (locate /) and implementing an external filter.
(locate /)