About specifying the antivirus scanning mode for Java-based command-line scanner
The --action option lets you override the default antivirus scanning mode for the Java-based command-line scanner. The default scanning mode is the antivirus scan policy set on the Symantec Protection Engine.
You do not need to specify an antivirus scanning mode to use the default setting. Scanrepairdelete is the recommended setting.
To override the default antivirus scanning mode, you can specify one of the following scanning modes using the -action option:
Files are scanned, but no repair is tried. Infected files are not deleted.
Symantec Protection Engine tries to repair infected files. Files that cannot be repaired are not deleted.
Symantec Protection Engine tries to repair infected files. Files that cannot be repaired are deleted.
When files are sent to Symantec Protection Engine using Java-based command-line scanner, the command-line scanning mode overrides the scan policy configuration on Symantec Protection Engine. This override includes scanning the files that are embedded in container files. If you do not specify a scanning mode using the --action option, the default setting is the antivirus scan policy set on Symantec Protection Engine.