Skip to main content

Search

2.10

Summary

This page describes all the features of the Search screen and how to use them.

The main features of this screen are:

  • Search for files from the Catalogs or from connected drives
  • Use multiple criteria to refine and reduce the number of results:
  • Use the Results with a context menu (right-click) or process results in batch,
  • Re-use previous criteria from the Search History.
  • All search criteria are saved and available the next time Katalog is opened, except for the results themselves.

Search screen showing criteria panel on the left and results on the right

Search source

Search in file catalogs

The Selection panel on the left provides optional filters to narrow which catalogs to search in:

  • Location: limits catalogs to those matching the selected location as defined in the Storage screen.
  • Storage: limits catalogs to those under a specific storage device.
  • Catalog: narrows the search to a single specific catalog.

Search in connected drives

Search directly on the computer and connected drives without needing a catalog. This is useful to search in a specific folder, or to get a quick view after recent changes without updating a catalog first.

Search criteria

This panel groups all criteria that refine and reduce the number of results. The panel can be hidden to save space.

They apply to file paths and names, file attributes, metadata, tags, and can identify duplicates or differences between 2 catalogs. Results can be a list of files, or a list of folders containing matching files.

Search criteria panel showing text, file, metadata, duplicates and differences sections

Search Text criteria

File name

Type the text to search for in file names and/or folder paths.

A "word" is a group of characters separated from another group by a space. This can be used to find folders, files, or files in certain folders.

Buttons next to the text field:

  • Paste from Clipboard — pastes clipboard content into the search field.
  • Clean Search Text — removes special characters (. , _ - ( ) [ ] { } / \ ' ").

When a checkbox is placed before a criterion, it can be enabled or disabled without losing the entered value.

With

Specifies how the words in the Text field should be matched:

OptionBehavior
All WordsReturns results only if all words are found (default)
Exact PhraseReturns results where the exact phrase (including word order and spaces) is found
Begins WithFile name must start with the text — only available with File names only
Any WordReturns results if at least one of the words is found

In

Specifies which part of the file path to search:

OptionBehavior
File names onlySearches only in file names (default)
File names or Folder pathsSearches in both file names and folder paths
Folder path onlySearches only in folder paths (not available with Begins With)

Case sensitive

Forces exact character matching (upper- and lower-case letters are treated as distinct).

Exclude

Excludes results if any of the words provided is found in the file path or name.

File criteria

The entire file criteria section can be enabled or disabled with its checkbox.

Size

Set a minimum and/or maximum file size. Each bound accepts a number and a unit.

Available units: Bytes, KiB, MiB, GiB, TiB

File type

Filter results by file type. Available types:

TypeDescription
AllNo type filter (default)
AudioAudio files (e.g. mp3, ogg, wav, flac…)
ImageImage files (e.g. jpg, png, gif, raw…)
TextDocument and text files (e.g. pdf, docx, odt, epub…)
VideoVideo files (e.g. mp4, mkv, avi, mov…)
OtherFiles not matching any of the above types
NoneFiles with no recognized type

File types are detected dynamically using the system MIME type database (KFileMetadata), so the exact list of extensions adapts to the system.

Dates

Set a minimum and/or maximum file modification date.

File metadata criteria

The metadata section allows searching on content embedded inside files (requires the catalog to have been indexed with extended metadata).

File metadata criteria section showing text, image dimensions and duration fields

The entire metadata section can be enabled or disabled with its checkbox.

Metadata text

Search for text inside metadata fields such as artist name, album, title, author, or other embedded text content.

Metadata size (images and videos)

Filter by pixel dimensions:

  • Min / Max Height — height range in pixels
  • Min / Max Width — width range in pixels

Metadata duration (audio and video)

Filter by playback duration using a time range.

Folder criteria

Show folders only

Displays folder paths as results instead of individual files.

note

Show folders only cannot be combined with Find Differences.

Tags

Filter results to files or folders that have a specific tag assigned. Tags are defined in the Tags screen.

Duplicates

Find files that are potentially duplicated, based on one or a combination of:

FieldDescription
File NameSame file name
File SizeSame file size
Date ModifiedSame modification date
Checksum (SHA-256)Same or different checksum value

The checksum operator (= or ≠) lets you find files with the same checksum (true duplicates) or files with different checksums despite other matching attributes.

Scope options:

  • Within selected device/catalog — finds duplicates inside the currently selected device or catalog.
  • Compare two devices — compares files between two selected devices or catalogs to find duplicates across them.
note

At least one field must be selected to run a duplicates search.

Differences

Find files present in one device but not the other, or with different attribute values — useful to compare a source with a backup.

Differences criteria section showing device selectors and attribute checkboxes

Select two devices (Virtual, Storage, or Catalog) to compare, and choose which attributes define a difference:

FieldDescription
File NameFiles with different names
File SizeFiles with different sizes
Date ModifiedFiles with different modification dates
Checksum (SHA-256)Files with same or different checksum

The checksum operator (= or ≠) works the same way as for Duplicates.

note

At least one field must be selected. Find Differences cannot be combined with Show Folders Only or Find Duplicates.

Search button

Click Search to start. The button changes state depending on the operation:

StateButton labelStop button
IdleSearch (green)Disabled
RunningPauseEnabled
PausedResumeEnabled

Status bar showing the paused state during a search operation

  • Pause / Resume — suspend and continue the search without losing progress. Not available in Memory database mode.
  • Stop — cancel the current search entirely. Partial results already found are shown.

Reset

The Reset All button resets all criteria to their default values.

Results

Catalogs with results

The left panel lists the catalogs in which matching files were found. Clicking on a catalog in this list re-runs the search restricted to that catalog only. This panel can be hidden to save space.

Files found

The right panel lists the files or folders matching the search criteria.

The header shows the count of files or duplicates found and the total size. Click the statistics icon to open the detailed statistics dialog:

StatisticDescription
Files foundTotal count of matching results
Files processedTotal number of files examined
CompletionPercentage processed (if the search was stopped early, results are flagged as incomplete)
Total sizeSum of file sizes
Min / Max / Average sizeSize distribution
Min / Max dateDate range of results
Catalogs processedNumber of catalogs searched out of total

File context menu

Right-clicking on a result line opens a context menu:

Navigation:

ActionDescription
Open fileOpens the file with the system's default application
Open folderOpens the file's parent folder in the file manager
Explore folderNavigates to the file's folder in Katalog's Explore screen

Metadata:

ActionDescription
Show extended metadata (JSON)Displays the file's embedded metadata (available if the catalog was indexed with extended metadata, or if the file type supports it)

Copy to clipboard: (example: /home/user/documents/filename.txt)

ActionCopied value
Copy folder path/home/user/documents
Copy file absolute path/home/user/documents/filename.txt
Copy file name with extensionfilename.txt
Copy file name without extensionfilename

Checksum:

ActionConditionDescription
Calculate Checksum (SHA-256)No checksum stored yetComputes and saves the SHA-256 hash
Copy ChecksumChecksum is storedCopies the hash to the clipboard
Verify Checksum (SHA-256)Checksum is storedRecomputes and compares with the stored value

File operations:

ActionDescription
Move to TrashMoves the file to the system trash (with confirmation)
Delete filePermanently deletes the file (with confirmation)

Batch process

The Process Results button opens a menu of batch operations applied to all files in the results:

ActionDescription
Export ResultsExport to a new catalog (for further refined searching) or to a CSV file named with the date and saved in the Collection folder
Rename (KRename)Opens all result files in KRename for batch renaming
Move to TrashMoves all result files to the system trash (with confirmation showing count and total size)
DeletePermanently deletes all result files (with confirmation — no recovery)

Search History

Every time a search is run, the criteria and device selection are saved to a history file in the Collection folder.

This history is displayed in a table at the bottom of the screen. Clicking on a row restores all criteria and immediately re-runs that search.

This panel can be hidden to save space.

Search history panel showing previous searches with timestamps and criteria

Development

Some ideas of developments for this screen: