A command-line virus scanner using the ClamAV Daemon.
More information.
- Scan a file or directory for vulnerabilities:
clamdscan {path/to/file_or_directory}
- Scan the current directory and output only infected files:
- Output the scan report to a log file:
clamdscan --log {path/to/log_file}
- Move infected files to a specific directory:
clamdscan --move {path/to/quarantine_directory}
- Use multiple threads to scan a directory:
- Pass the file descriptor instead of streaming the file to the daemon:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY