clamscan
A command-line virus scanner.
- Scan a file for vulnerabilities:
clamscan {path/to/file}
- Scan all files recursively in a specific directory:
clamscan -r {path/to/directory}
{command} | clamscan -
- Specify a virus database file or directory of files:
clamscan --database {path/to/database_file_or_directory}
- Scan the current directory and output only infected files:
clamscan --infected
- Output the scan report to a log file:
clamscan --log {path/to/log_file}
- Move infected files to a specific directory:
clamscan --move {path/to/quarantine_directory}
clamscan --remove yes
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).