I have a huge foldersystem on Gdrive and want to move files from a Server to Gdrive.
For imagine it looks like:
Folder 111 --> empty
Folder 121 --> empty
Folder 131 --> empty
Folder 132 --> file.txt
I do that with a Script that looks like:
if find $FROM* -type f -mmin +15 | read
echo "$(date "+%d.%m.%Y %T") RCLONE UPLOAD STARTED" | tee -a $LOGFILE
'# MOVE FILES OLDER THEN 15 MINUTES'
rclone move $FROM $TO -c --bwlimit 250M --transfers=300 --checkers=300 --delete-after --min-age 15m --no-traverse --exclude .sync/** --log-file=$LOGFILE
echo "$(date "+%d.%m.%Y %T") RCLONE UPLOAD ENDED" | tee -a $LOGFILE
'# echo "$(date "+%d.%m.%Y %T") RCLONE NOT STARTED" | tee -a $LOGFILE'
I search with find files and move it to Gdrive.
But if there are files, i got an API ban and the log says:
error reading destination directory: couldn't list directory: googleapi: Error 403: User Rate Limit Exceeded.
Thats interesting beceause in that folder which rclone tried to list, was no new file. The folder was empty and the subfolder etc. I got a bunch of that messages. So the new files cant move beceause the api limit is hit bevore.
Did i miss a flag to don't hit the 1k Querry API limit? And Why is there a need to list empty folders that normaly don't get touched?
Google has 24 hours quotas on uploads and downloads. If you hit the quota, you have to wait for it to reset. There is no way for you to check your download or upload as it isn't documented. They document you can download 10TB and upload 750GB but that's about it.