localsearch-search1
Search for content
Usage
localsearch search
[options ...]
[resource-type]
<search-terms>
Overview
localsearch search searches all indexed content for the given search terms. Results are returned in ascending order.
<search-terms>
One or more words to search for. When multiple terms are provided, the default operation is a logical AND. For logical OR operations, see -r.
If no search terms are supplied, then all items are returned.
Only resources which currently exist will be returned by this command (see --all for more information).
Resource types
-f, --files
Search for files of any type matching search-terms.
-s, --folders
Search for folders matching search-terms.
-m, --music
Search for music files matching search-terms.
--music-albums
Search for music albums matching search-terms.
--music-artists
Search for music artists matching search-terms.
-i, --images
Search for images matching search-terms.
-v, --videos
Search for videos matching search-terms.
-t, --documents
Search for documents matching search-terms.
--software
Search for software files matching search-terms.
Options
-
-l, --limit=<limit> -
Limit search to limit results.
-
-o, --offset=<offset> -
Offset the search results by offset. For example, start at item number 10 in the results. The default is 0.
-
-d, --detailed -
Show the unique URN associated with each search result and a snippet of the matched search terms, if any was provided.
-
-a, --all -
Show results which might not be available. This might bebecause a removable media is not mounted for example. Without this option, resources are only shown if they exist.
-
-m, --mount=<FILE> -
If a removable device mount path is specified, the information will be retrieved from the specific database for this mount point. If it is not specified, the data will be obtained from the main instance.
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.
--mount since Arch Linux 2026-11-01;
-m since Arch Linux 2026-11-01.
--disable-color until Debian 13 (Trixie);
--disable-fts until Debian 13 (Trixie);
--disable-snippets until Debian 13 (Trixie);
--or-operator until Debian 13 (Trixie);
-r until Debian 13 (Trixie).