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).
pull/444/head
Luca 2 years ago committed by GitHub
parent a1ab1c2427
commit a273a7896c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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

Loading…
Cancel
Save