@@@ dvdrip-upload: change settings while i'm stealing someone else's internet
[dvdrip] / dvdrip-upload
index 46289bd..c291d6a 100755 (executable)
@@ -63,6 +63,7 @@ archdo () {
 archrun () { archdo run "$@"; }
 
 check () {
+  info "checking for pending uploads"
   while :; do
     any=nil
     for i in "$tmp"/*; do
@@ -75,12 +76,13 @@ check () {
           *) dir= ;;
         esac
         archrun mkdir -p "$archpath${dir:+/$dir}"
-        run rsync -svPSW "$i/iso" "$archive/$dest"
+        run rsync -svP --inplace --bwlimit 728k "$i/iso" "$archive/$dest"
         run rm -rf "$i") || :
       fi
     done
     case $any in nil) break ;; esac
   done
+  info "all done"
 }
 
 try_kick_daemon () {