clamdscan
Scan for viruses using the ClamAV Daemon. More information: https://docs.clamav.net/manual/Usage/Scanning.html#clamdscan.
- Scan a file or directory for vulnerabilities:
clamdscan
- Scan data from
stdin:
| clamdscan -
- Scan the current directory and output only infected files:
clamdscan --infected
- Print the scan report to a log file:
clamdscan --log
- Move infected files to a specific directory:
clamdscan --move
- Remove infected files:
clamdscan --remove
- Use multiple threads to scan a directory:
clamdscan --multiscan
- Pass the file descriptor instead of streaming the file to the daemon:
clamdscan --fdpass
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
