I'm trying to move files (movies) between directories. I have a script which renames my movies and then a separate script which I use to open a new terminal and monitor the movies being moved from one directory to another using progress.
This works fine, but I'd like to use pv instead and run everything from the same terminal. Thing is, my unix command skills are limited at best.
Can someone please identify how I would add a pv call in the following script?
#!/bin/bash
lxterminal -e watch progress -w
for file in /home/temp/*.mp4
do
mv /home/temp/*.mp4 /home/Movies/
done