scan_bad_signature.sh: adjust script output.
This commit is contained in:
@@ -831,7 +831,7 @@ for _user in "${selected_user_arr[@]}" ; do
|
||||
# -
|
||||
if $terminal ; then
|
||||
echo -e " \033[1;37mAccount ${_user}\033[m"
|
||||
echo -e " Gescannte Dateien.......................: ${_checked}"
|
||||
echo -e " Gescannte Dateien........................: ${_checked}"
|
||||
echo -e " Uebersprungene Dateien...................: ${_skipped}"
|
||||
if [[ $_user_bad -gt 0 ]] ; then
|
||||
echo -e " Dateien mit 'Bad Signature'..............: \033[1;33m${_user_bad} (${_pct} %)\033[m"
|
||||
@@ -846,7 +846,7 @@ for _user in "${selected_user_arr[@]}" ; do
|
||||
|
||||
{
|
||||
echo " Account ${_user}"
|
||||
echo " Gescannte Dateien.......................: ${_checked}"
|
||||
echo " Gescannte Dateien........................: ${_checked}"
|
||||
echo " Uebersprungene Dateien...................: ${_skipped}"
|
||||
echo " Dateien mit 'Bad Signature'..............: ${_user_bad} (${_pct} %)"
|
||||
} >> "$report_file"
|
||||
@@ -865,7 +865,7 @@ total_pct="$(calc_percent "$total_bad" "$total_checked")"
|
||||
echo " Gesamtergebnis"
|
||||
echo "=================================================================="
|
||||
echo ""
|
||||
echo "Gescannte Accounts.........................: ${#selected_user_arr[@]}"
|
||||
echo "Gescannte Accounts..........................: ${#selected_user_arr[@]}"
|
||||
[[ $total_failed_users -gt 0 ]] && echo "Accounts mit Scan-Fehler...................: ${total_failed_users}"
|
||||
echo "Gescannte Dateien insgesamt.................: ${total_checked}"
|
||||
echo "Dateien mit 'Bad Signature' insgesamt.......: ${total_bad} (${total_pct} %)"
|
||||
@@ -876,11 +876,11 @@ blank_line
|
||||
if $terminal ; then
|
||||
echo -e "\033[37m\033[1mErgebnis\033[m"
|
||||
echo ""
|
||||
echo -e " Gescannte Accounts.........................: ${#selected_user_arr[@]}"
|
||||
echo -e " Gescannte Accounts..........................: ${#selected_user_arr[@]}"
|
||||
[[ $total_failed_users -gt 0 ]] && echo -e " Accounts mit Scan-Fehler...................: \033[1;31m${total_failed_users}\033[m"
|
||||
echo -e " Gescannte Dateien insgesamt.................: ${total_checked}"
|
||||
echo -e " Dateien mit 'Bad Signature' insgesamt.......: \033[1;31m${total_bad} (${total_pct} %)\033[m"
|
||||
echo -e " Report-Datei.................................: reports/$(basename "${report_file}")"
|
||||
echo -e " Report-Datei................................: reports/$(basename "${report_file}")"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user