From 5cf203152004ee5a277d428fb77c058f883fb5b3 Mon Sep 17 00:00:00 2001 From: EduardBaer Date: Sun, 10 Oct 2021 00:00:25 +0200 Subject: [PATCH] clamdscan: add page (#6877) --- pages/common/clamdscan.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/clamdscan.md diff --git a/pages/common/clamdscan.md b/pages/common/clamdscan.md new file mode 100644 index 0000000000..ba0764f5fb --- /dev/null +++ b/pages/common/clamdscan.md @@ -0,0 +1,36 @@ +# clamdscan + +> 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 data from stdin: + +`{{command}} | clamdscan -` + +- Scan the current directory and output only infected files: + +`clamdscan --infected` + +- 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}}` + +- 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`