https://bugs.kde.org/show_bug.cgi?id=188025

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |angen.de

--- Comment #1 from [email protected] ---
I'd like to revive this feature request, suggesting to add support for
"reusable KFind search presets".

KFind is *very* convenient for browsing and sorting search results, but
frequently used searches currently have to be configured manually each time. It
would be useful to save a search definition and launch it again later, for
example from a .desktop file or a script.

(A) For example, a saved preset could describe:
* search path
* [x] include subdirectories
* a filename pattern like *.xls*
* a content criterion
* a temporal limit like "within the last 3 days"
and so on.

An ideal workflow then could be:
* Configure the search in KFind.
* Save it as a KFind search preset, e.g. recent-spreadsheets.kfind.
* Launch it with something like: 
  kfind --preset ~/.../recent-spreadsheets.kfind [--autostart]

KFind opens with the saved criteria (and optionally starts the search
automatically).

A preset format would have the advantage that it could contain all KFind search
criteria, without requiring a growing list of command-line options.
Command-line access could then simply provide a way to launch a saved search.

(B) Expanding the command-line syntax would help just as much:
kfind --path ~/reports/--name '*.xls*' --modified-within 3d


Any of both would make it possible to create .desktop launchers for frequently
used searches while retaining KFind's existing graphical result view and file
actions.

There is also an older related wishlist request, Bug 68140 ("save the search
options"), which already discussed accessing KFind's search settings from
scripts. This proposal could perhaps be considered a modern implementation of
that idea.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to