remove original folder when done
This commit is contained in:
parent
6d926d60a5
commit
354b0fbda2
1 changed files with 3 additions and 0 deletions
|
|
@ -36,3 +36,6 @@ for f in $files;
|
||||||
mkdir -p "$artist/$album"
|
mkdir -p "$artist/$album"
|
||||||
mv "$f" "$artist/$album/$new_name"
|
mv "$f" "$artist/$album/$new_name"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# removes the original folder asking confirmation
|
||||||
|
rm -R "$1"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue