From 32ffc76159b08391455083ec496a329f751b140f Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Tue, 5 Mar 2019 00:11:21 +0000 Subject: [PATCH] clamscan: add page (#2815) --- pages/common/clamscan.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/clamscan.md diff --git a/pages/common/clamscan.md b/pages/common/clamscan.md new file mode 100644 index 0000000000..557a1fbc4c --- /dev/null +++ b/pages/common/clamscan.md @@ -0,0 +1,36 @@ +# clamscan + +> A command line virus scanner. +> Homepage: . + +- Scan a file for vulnerabilities: + +`clamscan {{path/to/file}}` + +- Scan all files recursively in a specific directory: + +`clamscan -r {{path/to/directory}}` + +- Scan data from stdin: + +`{{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}}` + +- Remove infected files: + +`clamscan --remove yes`