Command line switches and use of NAVX command line utility for SAV/SEP for Macintosh

Article:TECH92772  |  Created: 2009-01-09  |  Updated: 2014-09-12  |  Article URL http://www.symantec.com/docs/TECH92772
Article Type
Technical Solution


Issue



Command line switches and use of NAVX command line utility for Symantec Antivirus (SAV) for Macintosh or Symantec Endpoint Protection (SEP) for Macintosh


Environment



NOTE: This article does not apply to SEP 12.1 RU4 or newer for Macintosh. The newer versions of SEP for Macintosh do not include the navx command line.


Solution



The syntax to use the navx command line tool within the Terminal in Mac OS X is as follows:

navx [OPTION]...[FILE]...

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 .



Legacy ID



2009030910461848


Article URL http://www.symantec.com/docs/TECH92772


Terms of use for this information are found in Legal Notices