Sync shared folder in RCLONE

Folder_BPT

is that a folder you shared with others?
or
a folder that someone shared with you?

someone shared with me

sorry, not sure about your answer

is that a folder you shared with others?
or
a folder that someone shared with you?

this option
Sorry my english it bad

seems that rclone does not support that yet.
https://github.com/rclone/rclone/issues/2536

well thanks for you support them

did some quick testing and there is a simple solution/workaround.

  1. get the drive id for the shared folder.
    open the shared folder in a web browser and note the URL.
    for example, https://onedrive.live.com/?authkey=%21Aoj00HeAGqxj5lg&id=38A315651D551501%21106&cid=38A315651D551501
    in this case, the drive id is 38A315651D551501
  2. to see the files run a command such as
    rclone mount ITSA: /home/linux/ITSA/ --vfs-cache-mode writes --onedrive-drive-id=38A315651D551501

here the URL is not like your

https://itsa-my.sharepoint.com/personal/mgonzalez_itsa_com/_layouts/15/onedrive.aspx?remoteItem=%7B%22mp%22%3A%7B%22webAbsoluteUrl%22%3A%22https%3A%2F%2Fitsa0%2Dmy%2Esharepoint%2Ecom%2Fpersonal%2Fmgonzalez%5Fitsa%5Fcom%22%2C%22listFullUrl%22%3A%22https%3A%2F%2Fitsa0%2Dmy%2Esharepoint%2Ecom%2Fpersonal%2Fmgonzalez%5Fitsa%5Fcom%2FDocuments%22%2C%22rootFolder%22%3A%22%2Fpersonal%2Fmgonzalez%5Fitsa%5Fcom%2FDocuments%2FFolder%5FBPT%22%7D%2C%22rsf%22%3A%7B%22listId%22%3A%2216b5e67e%2D50ea%2D4c64%2D995a%2De386dd8b4672%22%2C%22siteUrl%22%3A%22https%3A%2F%2Fitsa0%2Dmy%2Esharepoint%2Ecom%2Fpersonal%2Fbodegapt%5Fitsa%5Fcom%22%2C%22uniqueId%22%3A%2203044fb9%2D3026

If a click shared link

https://itsa0-my.sharepoint.com/:f:/g/personal/bodegapt_itsa_com/ErlPBAMmMJ1Li2DoOwehc9wBxZrVv-IUyJj8SVvsyTh5eQ?e=Fps3a8

did you try?
https://github.com/rclone/rclone/issues/2536#issuecomment-559754688

Should be like this?

[ITSA]
type = webdav
url = https://itsa0-my.sharepoint.com/personal/mgonzalez_itsa_com/Documents
vendor = sharepoint
user = mgonzalez@itsa.com
pass = encrypted pass

And how a create an encrypted pass
Greetings thanks for your help

https://rclone.org/commands/rclone_obscure/

It mount!! but I can open the folder :frowning:

looks like Folder_BPT is a text file not a folder

post the ouput of rclone lsd ITSA: -vv

rclone lsd ITSA: -vv
2021/11/10 13:03:46 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "lsd" "ITSA:" "-vv"]
2021/11/10 13:03:46 DEBUG : Creating backend with remote "ITSA:"
2021/11/10 13:03:46 DEBUG : Using config file from "/home/linux/.config/rclone/rclone.conf"
2021/11/10 13:03:46 DEBUG : found headers: 
          -1 2021-10-24 02:22:16        -1 Forms
          -1 2021-11-08 11:05:04        -1 PRUEBA
          -1 2021-11-05 12:50:42        -1 home
2021/11/10 13:04:04 DEBUG : 7 go routines active

i have no way to test.
if you want to share a folder with me, let me know.

sure, e-mail address?

i replied to your private message....

thanks for setting up that office365 account for me.
did some testing and i think i got it working

this is a good remote

  • notice that the email addresses are different.
    --- for the url, the email address is the sharer, which is you.
    --- for the user, the email address is the sharee, which is me.
[remote]
type = webdav
url = https://ignisterra0-my.sharepoint.com/personal/bodegapx_ignisterra_com/Documents
vendor = sharepoint
user = tafilax@ignisterra.com
pass = pass = encrypted pass
rclone lsd ittestdav: 
          -1 2021-11-08 08:46:11        -1 Folder_BPT
rclone ls ittestdav: 
     8611 Folder_BPT/Excel_compartido.xlsx

Thanks dude for your time

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