Skip to content

Scan files and folders

  1. Open Scan (Ctrl+2).
  2. Add targets with Add Files or Add Folders, drop them into the window, or pick a Scan Profile.
  3. Click Start Scan. Folders scan recursively.

Quick Scan on the Dashboard or Scan page scans ~/Downloads right away. Missing, unreadable, or protected targets are rejected before the scan starts.

For one-off integrations, launch with paths:

Terminal window
clamui /path/to/file /path/to/folder
flatpak run io.github.linx_systems.ClamUI /path/to/file /path/to/folder

For headless scans, run clamui scan /path/to/target. See the command-line reference for scan options and how to open scan targets in the graphical interface. Headless scans return 0 for clean, 1 for infected, or 2 for error. Most ClamUI subcommands accept --json for scripts.

Need Best choice
New download Scan the file or use Quick Scan
Personal files Home Folder profile
Whole system Full Scan while the machine is idle
Recurring Scheduled scan
USB stick or external disk Scan its mount point, or enable Device Scan

Built-in targets: Quick Scan ~/Downloads; Full Scan / without /proc, /sys, /dev, /run, /tmp, /var/cache, /var/tmp; Home Folder ~ without ~/.cache and ~/.local/share/Trash. See profiles.

Headless scans
clamui scan ~/Downloads
clamui scan /tmp --quarantine --json
clamui scan . --profile "Quick Scan" -v
clamui scan file1.txt dir/ --no-recursive

Run clamui help scan for examples. History, quarantine, and profiles have their own subcommands: clamui help.

With several targets, Target i/n shows which one is running; the file counter keeps counting across targets. Flatpak scans estimate file counts on the host first. When an estimate is unavailable or exceeded, progress turns approximate or indeterminate and the scan continues.

The result page leads with a verdict banner: clean, threats found, error, or cancelled. A cancelled scan keeps the partial result. Each detection shows its path and ClamAV signature name.

  • Quarantine moves the file to owner-only storage and records its SHA-256. See quarantine.
  • Scan details (Fullscreen) shows the full output; Copy puts it on the clipboard. Escape closes it.
  • With notifications on, a finished scan sends a desktop notification. Show Scan returns to the result.

Click Run EICAR Test after installing. It scans the harmless EICAR test file and should report one detection. Never test with real malware.

Preferences → Device Scan scans new mounts automatically.

Option Default
Device types removable, external (optional: network, internal)
Max device size 32 GB (0 = no limit)
Delay after mount 3 seconds
Notify on
Auto-quarantine off
Skip on battery on

Do not disconnect a device during its scan.

  • A running daemon keeps signatures in memory: repeat scans start immediately. See scan backends.
  • Exclusions save time, but never exclude a whole target, Downloads, or documents.
  • Keep archive limits finite.