What is the problem you are having with rclone?
Can't see the copied files on onedrive web.
But I can see the copied files in rclone.
!rclone ls -vv od:sa/
2021/08/08 08:32:14 DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "ls" "-vv" "od:sa/"]
2021/08/08 08:32:14 DEBUG : Creating backend with remote "od:sa/"
2021/08/08 08:32:14 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2021/08/08 08:32:17 DEBUG : fs cache: renaming cache item "od:sa/" to be canonical "od:sa"
2387 mysa.json
2021/08/08 08:32:18 DEBUG : 3 go routines active
What is your rclone version (output from rclone version
)
rclone v1.56.0
- os/version: ubuntu 18.04 (64 bit)
- os/kernel: 5.4.104+ (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.16.5
- go/linking: static
- go/tags: none
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Google Colab
Which cloud storage system are you using? (eg Google Drive)
Google Drive to Onedrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
!rclone copy -vv --transfers=1 gd:sa/mysa.json od:sa/
The rclone config contents with secrets removed.
[od]
type = onedrive
token = {"access_token":"XXX","token_type":"Bearer","refresh_token":"XXX","expiry":"2021-08-06T21:27:23.3974047+08:00"}
drive_id = XXX
drive_type = documentLibrary
[gd]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = {"access_token":"XXX","expiry":"2021-08-06T13:30:29.559629742Z"}
team_drive =
A log from the command with the -vv
flag
2021/08/08 08:30:14 DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "copy" "-vv" "--transfers=1" "gd:sa/mysa.json" "od:sa/"]
2021/08/08 08:30:14 DEBUG : Creating backend with remote "gd:sa/mysa.json"
2021/08/08 08:30:14 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2021/08/08 08:30:14 DEBUG : Google drive root 'sa/mysa.json': 'root_folder_id = XXX' - save this in the config to speed up startup
2021/08/08 08:30:16 DEBUG : fs cache: adding new entry for parent of "gd:sa/mysa.json", "gd:sa"
2021/08/08 08:30:16 DEBUG : Creating backend with remote "od:sa/"
2021/08/08 08:30:19 DEBUG : fs cache: renaming cache item "od:sa/" to be canonical "od:sa"
2021/08/08 08:30:21 DEBUG : mysa.json: Need to transfer - File not found at Destination
2021/08/08 08:30:24 DEBUG : mysa.json: Starting multipart upload
2021/08/08 08:30:25 DEBUG : mysa.json: Uploading segment 0/2387 size 2387
2021/08/08 08:30:26 INFO : mysa.json: Copied (new)
2021/08/08 08:30:26 INFO :
Transferred: 2.331Ki / 2.331 KiByte, 100%, 596 Byte/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 12.0s
2021/08/08 08:30:26 DEBUG : 8 go routines active```