I have the following in Bash (In Linux)
for dir in Movies/*
do
(cd "$dir" && pwd|cut -d / -f5|tr -s '
' ', ' >> ../../movielist &&
exiftool * -t -s3 -ImageSize -FileType|tr -s '' ',' >> ../../movielist )
echo "Movie $movies - $dir ADDED!"
let movies=movies+1
done
But I wish to make it so the "echo" shows the following echo on the next line (Not concatenate with the last echo output but replace it) so to make it look like it is updating. Similar to how a progress bar with percent would show on the same line.
See Question&Answers more detail:os