Rclone copy entire drive

BTW, here is how you can actually verify the tar if you wanted.

dell-xps:~$ tar -zcvf - MATH416 | tee >(md5sum>sum)| rclone rcat robgs:out.tar && cat sum
MATH416/
MATH416/416.pdf
MATH416/Examination.pdf
dec9a869194a467c4290297bfdc574a3  -
dell-xps:~$ rclone lsjson --hash robgs:out.tar
[
{"Path":"out.tar","Name":"out.tar","Size":200,"MimeType":"application/x-tar","ModTime":"2021-07-08T13:21:53.514Z","IsDir":false,"Hashes":{"md5":"dec9a869194a467c4290297bfdc574a3"},"ID":"1TSiGC2uqDCdU-Tz3Ug7IqKqCjbm1bLMl"}
]

dell-xps:~$ rclone cat robgs:out.tar | tar -zxvf -
MATH416/
MATH416/416.pdf
MATH416/Examination.pdf

And here's some statistics on rclone copy vs streaming it with rcat. Coincidentally, I had to use it today. :slight_smile:

rcat method:
tar -zcvf - .kodi  | tee >(md5sum>sum)| rclone rcat robgs-cryptp:kodikeep-test.tar.gz -v --stats=5s
2021/07/08 09:35:20 INFO  : 
Transferred:   	    1.540Gi / 1.540 GiByte, 100%, 21.741 MiByte/s, ETA 0s
Transferred:            1 / 1, 100%
Elapsed time:      1m13.0s

find .kodi | wc
  18641   18830  999227

copy method (I stopped it after 5 minutes at 6% done but it hadn't even checked the full amount yet, so its more like 3-4%):
rclone copy .kodi robgs-cryptp:kodikeep-test --checkers 16 --transfers 16 -v --stats=30s -P
Transferred:      253.350Mi / 1.171 GiByte, 21%, 849.531 KiByte/s, ETA 19m
Transferred:          673 / 10705, 6%
Elapsed time:       5m6.5s
Transferring: