Scan with ClamAV (extended)

Dolphin Service Menus

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

6
7.3
Description:

A short script to scan files or directories with ClamAV.
It provides the ability to scan multiple files, a progress-dialog and a result window.

Installation:
1. Start Dollphin
2. Press "Configure and control Dolphin" > "Configure Dolphin..."
3. Go to "Services"
4. "Download New Services..."
5. Search for my scripts name
6. Press "Install"

You need to have ClamAV installed.
If you encounter any issues when using the graphical way extract the file and run "sh install.sh".

All files are installed in the users home directory (/home/[user]/.kde[4]/share/kde4/services/ServiceMenus/ClamScan/), there is no need to use su or sudo to install

Note:
The script is currently translated in English, Finnish, French, German, Indonesian, Italian, Russian, Spanish, Swedish, Turkish and Ukrainian.
If you wish another language, translate the following and leave me a message or write it in a comment:
Name[en]=Scan with ClamAV
wait="ClamAV is scanning, please wait."
not_found="ClamAV is not installed!"
scan_sentence="Scanning files: "

Translations:
[li]English [/li][li]Finnish (Thanks to nikore90)[/li][li]French (Thanks to pbuard)[/li][li]German[/li][li]Indonesian (Thanks to JamurBulet)[/li][li]Italian (Thanks to Andrea Sciucca)[/li][li]Russian (Thanks to Omega9)[/li][li]Spanish[/li][li]Swedish (Thanks to Jonas Norlander)[/li][li]Turkish (Thanks to tanzer)[/li][li]Ukrainian (Thanks to Localizator (localizator@ukr.net))[/li]
Last changelog:

5 years ago

2013-6-18 (2.5.7)
- fixed permissions

2012-9-16 (2.5.6)
- fix: install-script: create path2 if it doesn't exist

2012-4-21 (2.5.5)
- support for linked directories
- support for empty directories
- unnecessary logfile gets deleted after scan, only result file remains
- fixed some if-conditions
- counts directories

2012-4-19 (2.5.4)
- fixed a wrong directory test (minor bug); now [ -d ] instead of [ -f ]
- did some testing on the mountable devices .desktop file, seems to work fine now

2012-4-19 (2.5.3)
- fixed a wrong set directory (~/.kde4/...) (that was for testing, I forgot to remove it)
- added spanish
- fixed this bug: gentooforum.de/artikel/17867/2/update-script.html when running ClamScan.sh without syntax

2012-2-23 (2.5.2)
- fixed recognition of empty directories which I broke in 2.3

2012-2-23 (2.5.1)
- Indonesian translation

2012-2-4 (2.5)
- using mkdir -p instead of if-conditions

(See Changelog file)

Don't forget to vote!

Omega9

8 years ago

[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=all/all;
X-KDE-StartupNotify=false
X-KDE-Priority=TopLevel
Actions=scanwithClam;

[Desktop Action scanwithClam]
Name=Scan with ClamAV
Name[de]=Mit ClamAV Scannen
Name[en]=Scan with ClamAV
Name[sv]=Skanna med ClamAV
Name[ru]=Сканирование ClamAV
Exec[de]=kdialog --title "Scan mit ClamAV 1.3.2" --passivepopup "ClamAV scannt, bitte warten." 5 ; test -f /usr/bin/clamscan && kdialog --msgbox "Durchsuchte Datei(en): \n %F \n\n Resultat:\n `clamscan -i -r %F ` \n" --title "Scan mit ClamAV 1.3.2" || kdialog --msgbox "ClamAV ist nicht installiert! \n" --title "ClamAV nicht gefunden"
Exec[en]=kdialog --title "Scan with ClamAV 1.3.2" --passivepopup "ClamAV is scanning, please wait." 5 ; test -f /usr/bin/clamscan && kdialog --msgbox "Scanned file(s): \n %F \n\n Results:\n `clamscan -i -r %F ` \n" --title "Scan with ClamAV 1.3.2" || kdialog --msgbox "ClamAV is not installed! \n" --title "ClamAV not found"
Exec[sv]=kdialog --title "Skanna med ClamAV 1.3.2" --passivepopup "ClamAV skannar, vänta." 5 ; test -f /usr/bin/clamscan && kdialog --msgbox "Skannade filer: \n %F \n\n Resultat:\n `clamscan -i -r %F ` \n" --title "Skanna med ClamAV 1.3.2" || kdialog --msgbox "ClamAV verkar inte vara installerat! \n" --title "ClamAV hittades inte"
Exec[ru]=kdialog --title "Сканирование ClamAV 1.3.2" --passivepopup "ClamAV проводит сканирование. Пожалуйста, подождите." 5 ; test -f /usr/bin/clamscan && kdialog --msgbox "Проверенные файлы: \n %F \n\n Результат:\n `clamscan -i -r %F ` \n" --title "Сканирование ClamAV 1.3.2" || kdialog --msgbox "ClamAV не установлен! \n" --title "ClamAV не найден"
Exec=kdialog --title "Scan with ClamAV 1.3.2" --passivepopup "ClamAV is scanning, please wait." 5 ; test -f /usr/bin/clamscan && kdialog --msgbox "Scanned file(s): \n %F \n\n Results:\n `clamscan -i -r %F ` \n" --title "Scan with ClamAV 1.3.2" || kdialog --msgbox "ClamAV is not installed! \n" --title "ClamAV not found"
Icon=security-medium

Report

C

Incarus

8 years ago

Thank you for the Russian translation, I adopted it as it is.

Report

5 years ago

2013-6-18 (2.5.7)
- fixed permissions

2012-9-16 (2.5.6)
- fix: install-script: create path2 if it doesn't exist

2012-4-21 (2.5.5)
- support for linked directories
- support for empty directories
- unnecessary logfile gets deleted after scan, only result file remains
- fixed some if-conditions
- counts directories

2012-4-19 (2.5.4)
- fixed a wrong directory test (minor bug); now [ -d ] instead of [ -f ]
- did some testing on the mountable devices .desktop file, seems to work fine now

2012-4-19 (2.5.3)
- fixed a wrong set directory (~/.kde4/...) (that was for testing, I forgot to remove it)
- added spanish
- fixed this bug: gentooforum.de/artikel/17867/2/update-script.html when running ClamScan.sh without syntax

2012-2-23 (2.5.2)
- fixed recognition of empty directories which I broke in 2.3

2012-2-23 (2.5.1)
- Indonesian translation

2012-2-4 (2.5)
- using mkdir -p instead of if-conditions

(See Changelog file)

Don't forget to vote!

12345678910
220
product-maker janet Nov 17 2015 8 great
product-maker brabus84 Mar 28 2014 8 great
product-maker msx Jul 26 2013 8 great
product-maker gustawho Jul 07 2013 8 great
product-maker Seniazi Jun 19 2013 8 great
product-maker electron222 Jun 10 2013 8 great
product-maker Omega9 Apr 10 2013 8 great
product-maker mixalns Sep 16 2012 8 great
product-maker som123xxx Sep 16 2012 3 bad
product-maker RAIDENSUB Aug 15 2012 8 great
product-maker narya Apr 22 2012 8 great
product-maker roctheme Jan 27 2012 8 great
product-maker pru Jan 15 2012 8 great
product-maker pbuard Dec 19 2011 8 great
product-maker nikore90 Nov 11 2011 8 great
product-maker FraMari Jun 26 2011 8 great
product-maker gohanz Jun 26 2011 8 great
product-maker jorssoftware Feb 09 2011 8 great
product-maker svah4cky0 Jan 09 2011 8 great
product-maker deabru Jan 08 2011 8 great
product-maker sylgil88 Jan 08 2011 8 great
product-maker vitoubien Jan 08 2011 3 bad
product-maker Count:2 Rating: 5.00
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
2.5.7
updated Jun 18 2013
added Jan 08 2011
downloads today
2
page views today 4
System Tags addon
+