name : fix_numbering only starting with a digit.

This commit is contained in:
Dmitry Voronin 2023-12-10 07:30:24 +03:00
parent 2ece1cfb59
commit 982e79e595

View file

@ -487,7 +487,7 @@ function name_fix_numbering() {
# All files by default.
if [[ "${targets[*]}" = "" ]]; then
targets=($(ls))
targets=($(ls | grep "^[0-9]"))
total=${#targets[@]}
fi