Don't blindly delete the interim directory in case there are still files there.
This commit is contained in:
@ -300,7 +300,10 @@ done
|
|||||||
echo "** Done converting any mp3s."
|
echo "** Done converting any mp3s."
|
||||||
|
|
||||||
echo "** Done with INTERIM, deleting."
|
echo "** Done with INTERIM, deleting."
|
||||||
rm -rfv "$INT_DIR"
|
#rm -rfv "$INT_DIR"
|
||||||
|
find "$INT_DIR" -type d | sort -r | while read dir; do
|
||||||
|
rmdir -v "$dir"
|
||||||
|
done
|
||||||
|
|
||||||
echo "* Copying OLD files to NEW."
|
echo "* Copying OLD files to NEW."
|
||||||
find "$OLD_DIR" -name "*".$EXT | sort | while read file; do
|
find "$OLD_DIR" -name "*".$EXT | sort | while read file; do
|
||||||
|
Reference in New Issue
Block a user