環境
下記環境で試しました。
ESET File Security for Windows
単体パスの実行
"C:\Program Files\ESET\ESET Security\eShell" computer scans on-demand start scan settings:"詳細検査 target:C:\
複数パスの実行
"C:\Program Files\ESET\ESET Security\eShell" computer scans on-demand start scan settings:"詳細検査 target:C:\ target:D:\
プロファイルの確認
settingsオプションで指定するプロファイルは下記コマンドで確認します。
"C:\Program Files\ESET\ESET Security\eShell" computer scans on-demand PROFILE
ESET File Security for Linux
単体パスの実行
/opt/eset/efs/bin/odscan --scan --profile="@In-depth scan" /home/*
複数パスの実行
/opt/eset/efs/bin/odscan --scan --profile="@In-depth scan" /home/* /tmp/*
プロファイルの確認
settingsオプションで指定するプロファイルは下記コマンドで確認します。
/opt/eset/efs/bin/odscan --list-profiles
コメント
ESET File Securityのオンデマンドスキャンをバッチ実行するために調べました。