Sync
Google Drive sync on a laptop
A steady backup that stays under Google Drive’s limits on how many requests it accepts.
- Google Drive
- Laptops and NAS
Type your own: the command below follows.
rclone sync ~/Documents gdrive:Documents \ --transfers 4 \ --checkers 8 \ --drive-chunk-size 64M \ --tpslimit 10 \ --progressAdd to Rclone UI opens it in the app’s Templates window, ready to save. No app yet? Download Rclone UI, free.
What it does
Makes the destination match the source. Files that are only in the destination are deleted. rclone’s docs for sync
Each flag
- --transfers 4
- How many files are copied at the same time.rclone’s default: 4
- --checkers 8
- How many files are compared at the same time, to find the ones that need copying.rclone’s default: 8
- --drive-chunk-size 64M
- On Google Drive only: the size of each piece of an upload. Larger pieces upload faster, but each file being uploaded keeps one piece in memory.rclone’s default: 8Mi
- --tpslimit 10
- The most requests rclone makes to the remote each second. It keeps rclone under the limits of services like Google Drive, which slow down or refuse requests above them.rclone’s default: 0, no limit
- --progress
- Shows the progress in the terminal while the command runs. Rclone UI shows its own, in History.