Run a Virex scan of the current terminal directory

Oct 15, '02 09:34:50AM

Contributed by: Anonymous

I sometimes want to make a quick scan of my current directory, so I put the following (single) line into my .cshrc file:

alias vsc 'pwd > /usr/local/vscanx/thisdir; pushd 
/usr/local/vscanx/; ./vscanx --config config1
--verbose --file thisdir; popd'
[As noted, this is one line, not three - enter it on one row with a space replacing the carriage returns on each row.]

In the command, 'config1' contains the (surprise!) configuration for the vscanx engine ('--verbose' is not in my config1 file ;-). Someone else might find it handy.

Comments (2)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20021015063450144