Can't see the copied files on onedrive

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```

hello and welcome to the forum,

drive_type = documentLibrary
are you looking in the correct area?

have you tried to search for the file in sharepoint

for example, i did

rclone copy file.txt spoint_xyz:sa -vv
DEBUG : Using config file from "C:\\data\\rclone\\scripts\\rclone.conf"
DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "copy" "file.txt" "spoint_xyz:sa" "-vv"]
DEBUG : Creating backend with remote "file.txt"
DEBUG : fs cache: adding new entry for parent of "file.txt", "//?/C:/data/rclone/scripts"
DEBUG : Creating backend with remote "spoint_xyz:sa"
DEBUG : file.txt: Need to transfer - File not found at Destination
DEBUG : file.txt: Starting multipart upload
DEBUG : file.txt: Uploading segment 0/726 size 726
DEBUG : file.txt: QuickXorHash = dc2ffc1893a0dd65560accb41a200217e52de738 OK
INFO  : file.txt: Copied (new)
INFO  :
Transferred:           726 / 726 Bytes, 100%, 383 Bytes/s, ETA 0s
Transferred:            1 / 1, 100%
Elapsed time:         3.7s

and found the file at
https://xyz.sharepoint.com/sites/xyz/Shared Documents/Forms/AllItems.aspx

1 Like

sorry, my English is poor
but THANK YOU!!

I changed to [Communication site] page and i can see my file.
But it's weird, I can only see files I uploaded in rclone on [Communication site] page.

anyway THANK YOU !

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.