Copy Dropbox to Google Drive With rclone (Without Deleting Anything by Accident)
If you need to move a Dropbox account, or one big folder, into Google Drive, rclone is the most capable free tool for the job. It talks to both APIs directly, so you are not downloading everything through a desktop sync client and uploading it again. It is also a tool where one wrong verb deletes files. This is the setup I use, with the flags that matter and the ones that hurt. 1. Create the two…
Moving a Dropbox account or folder to Google Drive using rclone is a highly capable free tool that works directly with both APIs, avoiding the need for downloading and uploading data through a desktop sync client. However, the tool can delete files if not used properly, so it's essential to follow the correct setup and usage instructions.
To begin, create two remotes using rclone config: one for Dropbox (named dropbox) and one for Google Drive (named gdrive). When setting up Drive, it's recommended to create a custom client ID in Google Cloud Console instead of using the shared client ID that comes with rclone, as the shared ID can be rate-limited.
Avoid using the sync or move commands, as they can cause unintended consequences. Instead, use the copy command to add and update files without deleting any from the source. Before starting the actual copy, perform a dry run with the --dry-run flag to ensure everything works as expected. After the dry run, proceed with the real copy using the --progress flag to watch the transfer progress and the --drive-chunk-size flag (e.g., 64M) to speed up uploads to Google Drive, at the cost of some memory.
To prevent hitting Google Drive's daily upload limit, include the --drive-stop-on-upload-limit flag. This will stop the transfer when the limit is reached and allow the next run to pick up from where it left off. If a byte-for-byte comparison is necessary, use the --download flag with the check command, although this will double the traffic.
When running the transfer, consider using a small VPS for better performance, especially for larger transfers. Be aware that cloud providers charge for outbound traffic, and Google Drive charges per uploaded GB. Choose a provider with a generous included transfer allowance if possible. Finally, if you only need to move one folder from Dropbox to Google Drive, consider using a hosted cloud-to-cloud transfer service like WetoDrive, which can perform a server-side copy without the need for setup.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to