mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-18 03:08:57 +01:00
Fix mkdir: cannot create directory : File name too long On linux file name max is 143 characters. Fix max name to 100 characters
This commit is contained in:
parent
1dfd8ae755
commit
2d5902ed6e
1
AAXtoMP3
1
AAXtoMP3
@ -351,6 +351,7 @@ do
|
||||
genre=$(get_metadata_value genre)
|
||||
artist=$(get_metadata_value artist)
|
||||
title=$(get_metadata_value title | $SED 's/'\:'/'-'/g' | $SED 's/- /-/g' | xargs -0)
|
||||
title=${title:0:100}
|
||||
if [ "x${targetdir}" != "x" ] ; then
|
||||
output_directory="${targetdir}/${genre}/${artist}/${title}"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user