archive & name : update colors.
This commit is contained in:
parent
6c7bf16eec
commit
a1997015ac
|
@ -221,7 +221,7 @@ archive_name()
|
|||
|
||||
# check for the same name.
|
||||
if [[ "${target}" = "${new_name}" ]]; then
|
||||
echo -e "${color_yellow}${status}: No change.${color_default}"
|
||||
echo -e "${color_green}${status}: No change.${color_default}"
|
||||
continue
|
||||
fi
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ name()
|
|||
|
||||
# check if same name.
|
||||
if [[ "${target}" = "${new_name}" ]]; then
|
||||
echo -e "${color_yellow}${status}: No change.${color_default}"
|
||||
echo -e "${color_green}${status}: No change.${color_default}"
|
||||
continue
|
||||
fi
|
||||
|
||||
|
@ -94,7 +94,7 @@ name_hash()
|
|||
|
||||
# check if same name.
|
||||
if [[ "${target}" = "${new_name}" ]]; then
|
||||
echo -e "${color_yellow}${status}: No change.${color_default}"
|
||||
echo -e "${color_green}${status}: No change.${color_default}"
|
||||
continue
|
||||
fi
|
||||
|
||||
|
@ -108,7 +108,7 @@ name_hash()
|
|||
((count++))
|
||||
|
||||
# Report skip.
|
||||
echo -e "${color_yellow}[${count}/${total}] ${target}: Skipping directory.${color_default}"
|
||||
echo -e "${color_green}[${count}/${total}] ${target}: Skipping directory.${color_default}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ name_hash_check()
|
|||
((count++))
|
||||
|
||||
# Report skip.
|
||||
echo -e "${color_yellow}[${count}/${total}] ${target}: Skipping directory.${color_default}"
|
||||
echo -e "${color_green}[${count}/${total}] ${target}: Skipping directory.${color_default}"
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -206,7 +206,7 @@ name_series()
|
|||
|
||||
# Warning on no change.
|
||||
if [[ "${target}" = "${new_name}" ]]; then
|
||||
echo -e "${color_yellow}${status}: No change.${color_default}"
|
||||
echo -e "${color_green}${status}: No change.${color_default}"
|
||||
continue
|
||||
fi
|
||||
|
||||
|
@ -220,7 +220,7 @@ name_series()
|
|||
((count++))
|
||||
|
||||
# Report skip.
|
||||
echo -e "${color_yellow}[${count}/${total}] ${target}: Skipping directory.${color_default}"
|
||||
echo -e "${color_green}[${count}/${total}] ${target}: Skipping directory.${color_default}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
@ -264,7 +264,7 @@ name_manga()
|
|||
|
||||
# Warning on no change.
|
||||
if [[ "${target}" = "${new_name}" ]]; then
|
||||
echo -e "${color_yellow}${status}: No change.${color_default}"
|
||||
echo -e "${color_green}${status}: No change.${color_default}"
|
||||
continue
|
||||
fi
|
||||
|
||||
|
@ -278,7 +278,7 @@ name_manga()
|
|||
((count++))
|
||||
|
||||
# Report skip.
|
||||
echo -e "${color_yellow}[${count}/${total}] ${target}: Skipping directory.${color_default}"
|
||||
echo -e "${color_green}[${count}/${total}] ${target}: Skipping directory.${color_default}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
@ -319,7 +319,7 @@ name_ext()
|
|||
|
||||
# Warning on no change.
|
||||
if [[ "${target}" = "${new_name}" ]]; then
|
||||
echo -e "${color_yellow}${status}: No change.${color_default}"
|
||||
echo -e "${color_green}${status}: No change.${color_default}"
|
||||
continue
|
||||
fi
|
||||
|
||||
|
@ -333,7 +333,7 @@ name_ext()
|
|||
((count++))
|
||||
|
||||
# Report skip.
|
||||
echo -e "${color_yellow}[${count}/${total}] ${target}: Skipping directory.${color_default}"
|
||||
echo -e "${color_green}[${count}/${total}] ${target}: Skipping directory.${color_default}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
@ -367,7 +367,7 @@ name_prefix()
|
|||
|
||||
# Warning on no change.
|
||||
if [[ "${target}" = "${new_name}" ]]; then
|
||||
echo -e "${color_yellow}${status}: No change.${color_default}"
|
||||
echo -e "${color_green}${status}: No change.${color_default}"
|
||||
continue
|
||||
fi
|
||||
|
||||
|
|
Reference in a new issue