add `find` as a file search method

Bug #1009193 reported by upkpk on 2012-06-05
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Synapse
Undecided
Unassigned

Bug Description

Synapse has a `locate` action that is very useful when looking for files on your machine, however in some cases the files are not indexed by locate (for exemple, new files copied from an external drive, newly downloaded files, files on USB sticks that are never indexed by locate with the default settings...), and the user has to run ̀updatedb` (as root) to have the files appear in synapse's search results
Not very user-friendly, and the user will think Synapse's search function is inefficient. Unfortunately that's the way `locate` works.

It would be nice to have an option that adds a file search with `find` to the locate action. The search would take longer, but would provide the search results that are missing in the above cases.

gnome-search-tool does search this way, by using `locate` and `find` at the same time, and provides very good search results, in a reasonable time.

To improve search times, `find` could be restricted to common directories, like `$HOME/` and `/media/`.

Feedback on this idea is welcome.

Thanks !

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers