From a273a7896c5af2ff3a87cd32fe3baa0eee116f8f Mon Sep 17 00:00:00 2001 From: Luca <51792528+donluca@users.noreply.github.com> Date: Sat, 1 Apr 2023 17:41:51 +0200 Subject: [PATCH] Fixed an oversight Added a 0 to the padding to match the description on the wiki where it states that the file name should be 000000_something.syx (six zero padding). --- getsysex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getsysex.sh b/getsysex.sh index 3d4b260..fab818d 100755 --- a/getsysex.sh +++ b/getsysex.sh @@ -64,7 +64,7 @@ esac declare -i count for i in "${LINKS[@]}"; do - printf -v j "%05d" $count + printf -v j "%06d" $count FILENAME="$j"_`basename "${i}"` echo "Downloading ${i} ..." curl -o "sysex/voice/${FILENAME}" ${CURL_OPTIONS} "${i}" > /dev/null 2>&1