Create the new directory structure for the file.

This commit is contained in:
Hyperling 2025-03-19 07:54:28 -07:00
parent a4b9be077d
commit da4462b46a

View File

@ -206,6 +206,9 @@ function migrate_music {
new_file="$grandparent/$new_file"
# Create the new directories if they do not already exist.
mkdir -pv "$NEW/$grandparent/$parent"
# Move the file.
new_file="$NEW/$new_file"
$command -v "$file" "$new_file"