What is the problem you are having with rclone?
Does Rclone Ping google.com and use up the "API hit" if the source folder is empty? I am trying to controll my API hits,
at the same time, have a cron job to run every minute to move files to G-drive.
The graph at cloud.console.google.com
just shows a 0.1 api/s something like that.
Run the command 'rclone version' and share the full output of the command.
rclone v1.57.0
- os/version: debian 10.11 (64 bit)
- os/kernel: 5.10.0-0.bpo.11-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
G drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone move /home/downloads/emptyfolder/ gdrive:inbox/ -P
The rclone config contents with secrets removed.
[gdrive]
type = drive
team_drive =
scope = drive
root_folder_id =
server_side_across_configs = true
service_account_file = /use/the/json/file1.json
A log from the command with the -vv
flag
2022/03/22 08:50:47 DEBUG : rclone: Version "v1.57.0" starting with parameters [ "rclone" "copy" "xxxxxx/" "gdrive:/" "-P" "-vv"]
2022/03/22 08:50:47 DEBUG : Creating backend with remote "xxxxx"
2022/03/22 08:50:47 DEBUG : Using config file from "xxxxx"
2022/03/22 08:50:47 DEBUG : fs cache: renaming cache item "xxxxx/" to b e canonical "/home/first/downloads/zzyx"
2022/03/22 08:50:47 DEBUG : Creating backend with remote "gdrive/"
2022/03/22 08:50:48 DEBUG : fs cache: renaming cache item "gdrive" to be can onical "one:inbox"
2022-03-22 08:50:48 DEBUG : Google drive root 'inbox': Waiting for checks to fin ish
2022-03-22 08:50:48 DEBUG : Google drive root 'inbox': Waiting for transfers to finish
2022-03-22 08:50:50 DEBUG : .ignore: md5 = xxxxxxxxxxxxxx OK
2022-03-22 08:50:50 INFO : .ignore: Copied (new)
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Transferred: 1 / 1, 100%
Elapsed time: 2.4s
2022/03/22 08:50:50 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Transferred: 1 / 1, 100%
Elapsed time: 2.4s
2022/03/22 08:50:50 DEBUG : 7 go routines active