Permalink
Browse files

Add --progress to rsync command. Users are less likely to cancel a pr…

…ocess they know is actually doing something.
  • Loading branch information...
1 parent 264bb27 commit 5ad4b3e6131f4d1beeb6212b348f650a53cd01d0 n-i-x committed Dec 22, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 mkvdts2ac3.sh
View
4 mkvdts2ac3.sh
@@ -514,7 +514,7 @@ if [ $EXECUTE = 1 ]; then
# If we are keeping the DTS track external copy it back to original folder before deleting
if [ ! -z $KEEPDTS ]; then
color YELLOW; echo $"Moving DTS track to MKV directory."; color OFF
- rsync -av "$DTSFILE" "$DEST"
+ rsync --progress -av "$DTSFILE" "$DEST"
checkerror $? $"There was an error copying the DTS track to the MKV directory. You can perform this manually from \"$DTSFILE\"." 1
fi
cleanup $DTSFILE
@@ -668,7 +668,7 @@ else
# Rsync our new MKV with the AC3 over the old one OR if we're using the -e
# switch then this actually copies the AC3 file to the original directory
color YELLOW; echo $"Moving new file over old file. DO NOT KILL THIS PROCESS OR YOU WILL EXPERIENCE DATA LOSS!"; color OFF
- rsync -av "$NEWFILE" "$MKVFILE"
+ rsync --progress -av "$NEWFILE" "$MKVFILE"
checkerror $? $"There was an error copying the new MKV over the old one. You can perform this manually by copying '$NEWFILE' over '$MKVFILE'." 1
if [ $MD5 = 1 ]; then

0 comments on commit 5ad4b3e

Please sign in to comment.