What is the problem you are having with rclone?
Sanity check for my current script. It feels like I could speed up the processing of the script as it appears to spend a lot of time just comparing the local data to the remote data. Once a difference is checked, the upload is prompt and speedy relative to my available bandwidth. This script gets "slower" every year as a new large subset of files and folders start to populate local directories. The individual files range wildly from a couple of megs to 4-6GB each and sometimes as large as 32GB. The major issue in my opinion is that that each of the City subfolders have on average 150,000 files and folders. Some cities do get as high as 400,000 which I utilize unions for those rare occasions.
Each city starts at zero files and folders, but accumulates those 100k objects within a year and can reach 200k within 2-3 years. After year 4, it falls off and very little is added. For example now in 2023, very few files are added to 2018 folders. It can occur so we still have to scan it, but it's pretty rare.
So my question is, is this the best way to accomplish what I'm doing. Are there any flags I can use to speed up the checking process, not related to bandwidth?
Run the command 'rclone version' and share the full output of the command.
rclone v1.51.0
- os/arch: windows/amd64
- go version: go1.13.7
Which cloud storage system are you using? (eg Google Drive)
Google Drive, Shared Drives
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City1\2023" City1-Documents-2023:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City2\2023" City2-Documents-2023:\ --bwlimit "07:00,6.25M 19:00,12.5M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City3\2023" City3-Documents-2023:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City4\2023" City4-Documents-2023:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City5\2023" City5-Documents-2023:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City1\2022" City1-Documents-2022:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City2\2022" City2-Documents-2022:\ --bwlimit "07:00,6.25M 19:00,12.5M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City3\2022" City3-Documents-2022:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City4\2022" City4-Documents-2022:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City5\2022" City5-Documents-2022:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City2\2021" City2-Documents-2021-Union:\ --bwlimit "07:00,6.25M 19:00,12.5M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City1\2021" City1-Documents-2021:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City5\2021" City5-Documents-2021:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City4\2021" City4-Documents-2021:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City3\2021" City3-Documents-2021:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City1\2020" City1-Documents-2020:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City5\2020" City5-Documents-2020:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City4\2020" City4-Documents-2020:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City3\2020" City3-Documents-2020:\ --bwlimit "07:00,6.25M 19:00,9.375M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
"c:\rclone\rclone.exe" copy "\\contaso.com\data\Documents Data\City2\2020" City2-Documents-2020:\ --bwlimit "07:00,6.25M 19:00,12.5M" --fast-list --exclude-if-present rclone.ignore -v --log-file=c:\logs\rclone_log_%date:~-10,2%"-"%date:~7,2%"-"%date:~-4,4%.txt
The rclone config contents with secrets removed.
[City1-Documents-2020]
type = drive
client_id = private
client_secret = private
scope = drive
service_account_file = c:\rclone\rclone-private.json
team_drive = privateid
[City2-Documents-2020]
type = drive
client_id = private
client_secret = private
scope = drive
service_account_file = C:\rclone\rclone-private.json
team_drive = private
etc...
A log from the command with the -vv
flag
Paste log here