From a1997015ac52510b382ced157ba7a0f6e259efb9 Mon Sep 17 00:00:00 2001 From: home Date: Fri, 10 Nov 2023 11:53:20 +0300 Subject: [PATCH] archive & name : update colors. --- .linux/bash/module/archive.sh | 2 +- .linux/bash/module/name.sh | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.linux/bash/module/archive.sh b/.linux/bash/module/archive.sh index 9928625..ef5664f 100644 --- a/.linux/bash/module/archive.sh +++ b/.linux/bash/module/archive.sh @@ -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 diff --git a/.linux/bash/module/name.sh b/.linux/bash/module/name.sh index e3c0b27..68049e9 100644 --- a/.linux/bash/module/name.sh +++ b/.linux/bash/module/name.sh @@ -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