Operation
54
Avira AntiVir UNIX Server
Avira GmbH
The command is:
antivir --scan-mode=all --with-alltypes -s --scan-in-
archive /
Performing Partial Scan
Usually, scanning the directories that contain incoming and outgoing data (mailbox,
Internet, text folders) may be sufficient. These files are usually in
/var
.
If you have any DOS partitions on your UNIX system, you also have to scan them.
You can use the following parameters:
If your DOS partitions are in
/mnt
and the incoming and outgoing files are in
/var
:
Use the command:
antivir
--scan-mode=all -s --scan-in-archive
/var /mnt
Deleting Infected Files
AntiVir can delete files which contain viruses or unwanted programs. Optionally, AntiVir
can first try to repair these files.
The program will first overwrite the files and then delete them; i.e. repairing tools will not
recover them.
You can use the following options:
Examples
If you want to delete all infected files from
/home/myhome
:
Type the command:
antivir --scan-mode=all -del /home/myhome
If you want to repair infected files from
/home/myhome
and to delete the files that could
not be repaired:
Type the command:
antivir --scan-mode=all -e -del /home/myhome
--scan-mode=all
Scans all files.
-s
Scans all subfolders.
--scan-in-archive
Scans packed files, too.
--scan-mode=all
Scans all files.
-del
Deletes infected files.
-e -del
Tries to repair the infected files and deletes the ones it could
not repair.
In the following examples, files are transformed or deleted. Therefore
important data may be lost!