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