remove printf -v because it's illegal in most countries
This commit is contained in:
parent
55c9fa998a
commit
e91462b3d9
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ for f in $files;
|
||||||
"$f"
|
"$f"
|
||||||
|
|
||||||
# moves the files to a correct name into an artist/album/ folder
|
# 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"
|
||||||
mkdir -p "$artist/$album"
|
mkdir -p "$artist/$album"
|
||||||
mv "$f" "$artist/$album/$file_name"
|
mv "$f" "$artist/$album/$file_name"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue