Create the new directory structure for the file.
This commit is contained in:
parent
a4b9be077d
commit
da4462b46a
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user