Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service.
I am using this script to upload ~300MB videos and ~1MB images. Images upload without trouble but videos upload at an absolute snails pace. In order to check that this is not simply a connection issue I uploaded the same video from my machine to dropbox and the video took roughly 20 seconds to upload. The script is taking at least 45 minutes to upload the same file, but often longer.
I've already tried lowering the chunk size from 50 to 5 and while that let me see progress - the upload speed is still crazy slow. Each chunk is taking a few minutes to upload (~65 chunks and you can imagine how much hair I've pulled out).
I am using this script to upload ~300MB videos and ~1MB images. Images upload without trouble but videos upload at an absolute snails pace. In order to check that this is not simply a connection issue I uploaded the same video from my machine to dropbox and the video took roughly 20 seconds to upload. The script is taking at least 45 minutes to upload the same file, but often longer.
I've already tried lowering the chunk size from 50 to 5 and while that let me see progress - the upload speed is still crazy slow. Each chunk is taking a few minutes to upload (~65 chunks and you can imagine how much hair I've pulled out).
The call:
bash $du_folder/dropbox_uploader.sh -x .thumb -x .keep -s upload "/var/lib/motioneye/$subfolder" "/"
The output:
> Uploading "/var/lib/motioneye/Camera1/2019-03-21/00-44-01.mp4" to "/Camera1/2019-03-21/00-44-01.mp4" by 64 chunks ......