Scan files and folders
Start a scan
Section titled “Start a scan”- Open Scan (
Ctrl+2). - Add targets with Add Files or Add Folders, drop them into the window, or pick a Scan Profile.
- 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:
clamui /path/to/file /path/to/folderflatpak run io.github.linx_systems.ClamUI /path/to/file /path/to/folderFor 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.
Select the right scan
Section titled “Select the right scan”| 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.
Command line
Section titled “Command line”clamui scan ~/Downloadsclamui scan /tmp --quarantine --jsonclamui scan . --profile "Quick Scan" -vclamui scan file1.txt dir/ --no-recursiveRun clamui help scan for examples. History, quarantine, and profiles have their own subcommands: clamui help.
Progress
Section titled “Progress”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.
Results and detections
Section titled “Results and detections”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.
Escapecloses it. - With notifications on, a finished scan sends a desktop notification. Show Scan returns to the result.
Test with EICAR
Section titled “Test with EICAR”Click Run EICAR Test after installing. It scans the harmless EICAR test file and should report one detection. Never test with real malware.
Removable and network storage
Section titled “Removable and network storage”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.
Speed and safety
Section titled “Speed and safety”- 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.