clamscan

clamscan

TLDR

Scan a file for vulnerabilities

$ clamscan [path/to/file]
copy

Scan all files recursively in a specific directory

$ clamscan -r [path/to/directory]
copy

Scan data from stdin

$ [command] | clamscan -
copy

Specify a virus database file or directory of files

$ clamscan --database [path/to/database_file_or_directory]
copy

Scan the current directory and output only infected files

$ clamscan --infected
copy

Output the scan report to a log file

$ clamscan --log [path/to/log_file]
copy

Move infected files to a specific directory

$ clamscan --move [path/to/quarantine_directory]
copy

Remove infected files

$ clamscan --remove yes
copy

Copied to clipboard
Dodo Farming