Update!
I just found rclone
, which seems to do what my script does, and more:
- No need to set up sharing a particular way
- Won't time out, you can just leave it running until it's done
- Seems to run much much faster
- Keeps modified times on files the same
The only drawback is that it takes a bit longer to setup.