The syntax to use the navx command line tool within the Terminal in Mac OS X is as follows:
At its most simple, you can use navx along with a path to the file or folder you wish to scan at the command line. There are also a handful of command line options you can use:
-a (report all files scanned) -c (scan inside compressed files) -h (report files that were inaccessible for scanning) -Q (quarantine files that can't be repaired) -r (do not repair infected files [invalidates -Q]) -v (display the version number) -o file (append output to file)
Sample usage: to scan files on the Administrator's desktop, report all these files and send the output to a file called report.txt:
navx -a -o report.txt /Users/Administrator/Desktop
To scan the current directory, include a space and a period (.) at the end of the command line:
navx -a -o report.txt
This is machine translated content
Login to Subscribe
Please login to set up your subscription.
Didn't find the article you were looking for? Try these resources.