#     Copyright (C) 2005 Stewart Adam
#    This file is part of FWVirusScanner.

#    FWVirusScanner is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.

#    FWVirusScanner is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.

#    You should have received a copy of the GNU General Public License
#    along with FWVirusScanner; if not, write to the Free Software
#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

### Dependencies are php, zenity, and clamav. (clamscan and freshclam must be on your system) ###
If you have ATRPMS installed, then this will be more than enough to install the deps:
# yum install clamav php zenity

### INSTALLING ###

Just open up a terminal, change to the directory where you extracted the VirusScan archive, and then run
# ./install.sh
as root.

### USING ###
Now, you can run
vs
alone to give selection boxes, and
vs /path/to/file /path/to/file2
to do a (recursive) scan of the files or dirs. Make sure to backslash spaces or special chars.
You can also run
updatevdb
to update the virus database signatures.

### EXTRAS ###

If you wish, you can symlink /usr/bin/vs to ~/.gnome2/nautilus-scripts to be able to right-click files and scan them at a click.
# ln -s /usr/bin/vs ~/.gnome2/nautilus-scripts
when as your regular user will install it into your Nautilus Scripts directory.
