remove printf -v because it's illegal in most countries

This commit is contained in:
diegantobass 2025-06-24 06:34:02 +02:00
parent 55c9fa998a
commit e91462b3d9

View file

@ -31,7 +31,7 @@ for f in $files;
"$f"
# moves the files to a correct name into an artist/album/ folder
printf -v file_name '%02d - %s.mp3' "$track_number" "$track"
new_name=$(printf '%02d - %s.mp3' "$track_number" "$track")
mkdir -p "$artist"
mkdir -p "$artist/$album"
mv "$f" "$artist/$album/$file_name"