Hello all. "scanvirus" is a script application that has clamscan as its anti-virus engine. It has minimal functions to learn and it only has two dependencies (udisks2 and clamav). It makes virus scans of multiple drives/devices much easier. It requires no graphical interface, but has some optional gfx functions. It's command line is simple and easy to use with a configuration file. It's a has good configurable logging system.

It's been throughly tested for bugs and design flaws. However, any bugs or design flaws report them here. Follow the instructions in the script.

Design Flaw: needs more error checking, only basic checks.

Upgrading: Overwrite old file. Check CFG for differences

Code:
______________________________scanvirus configuration______________________________
date +'%Y-%m-%d %I:%M:%S%P'
TimeStamp= %I:%M:%S%P
DateStamp= %Y-%m-%d
______________________________________________________________________________
ExcludedScanFolders= dev etc kdeinit5__0 proc tmp srv sys var .snapshots
___________________________________________________________________________________
Bash Suspend Command
1= 'systemctl suspend' - openSUSE, Ubuntu, Fedora, Arch, Debian, etc
2= 'pm-suspend' - Void, Gentoo, Devuan etc - pm-utils power management suite
SuspendCommand= 1
___________________________________________________________________________________
Suspend or power-off lock screen - GNOME KDE
LockScreenCommand= 0
___________________________________________________________________________________
MSWIN scan - partition file system types
ScanPartitionFileSystems= ntfs vfat
___________________________________________________________________________________
List users group filter
UserGroupFilter= users
___________________________________________________________________________________
Scan Log Format
%o  OS Type             %s  Virus Status
%f  Scan Folder         %n  Scan Time
%c  Command Options     %t  Time Stamp
%d  Date Stamp          %p  Partition Log
%%  Print %
ScanLogFormat= %o %s %f %n %c %t %d %p
___________________________________________________________________________________
Software License: https://creativecommons.org/licenses/by-nc-nd/4.0/


https://paste.opensuse.org/89092388

Code:
#sha256sum scanvirus
c98e5f8ed8719daeead50d84053f0b12471f6a9637397aa4889ea92e21a0856c  scanvirus

#sha512sum scanvirus
37b848c468227f6da7cb8ed0190862e965ec5ea94ad810640641af3bc961aa3d5d9f24b1c74637febcdc42b96504b50baf93e629f091dde897b9ba48476f03e7  scanvirus
Current project: A total conversion to C code for more speed. It has only basic functions.