디렉터리 소유자로 검사

디렉터리의 소유자로 디렉터리를 검사할 수 있습니다.

root:for VOLUME in /Volumes/*; do sudo -u \#`stat -f %u "$VOLUME"` '/Applications/ESET Cyber Security.app/Contents/MacOS/esets_scan' -f /tmp/scan_log "$VOLUME"; done

현재 로그인한 사용자로 /tmp 폴더를 검사할 수도 있습니다.

root:sudo -u \#`stat -f %u /dev/console` '/Applications/ESET Cyber Security.app/Contents/MacOS/esets_scan' /tmp