xybu / onedrived-dev

A Microsoft OneDrive client for Linux, written in Python3.
https://github.com/xybu/onedrived-dev
MIT License
705 stars 78 forks source link

Sync "shared" dirs #38

Open emmetog opened 7 years ago

emmetog commented 7 years ago

Right now I can't figure out how to get onedrivd to sync shared directories, is it possible?

It seems to be possible in other clients as shown here so it should be possible with onedrived as well.

Is it possible currently with onedrived?

xybu commented 7 years ago

Haven't tried this with OneDrive API. I'm under an impression that shared entries are handled differently but that's old impression. I have some time to spend on the project next week and will take a look.

Obi-TOB commented 7 years ago

Hi, love the tool - however cannot use it without this feature. I think this is an unsponsored activity, so I understand there will be other things on your plate.

Many thanks for your efforts so far. Works great otherwise!

badbole commented 6 years ago

Excelent tool... I would also like to see shared folders syncing possibility :)

quater commented 6 years ago

I hit this problem initially but was able to workaround it. Maybe this workaround helps others too.

When someone shared a directory with me and I added this shared folder to my OneDrive, the shared folder did not appear/ sync at all. However it appears to work the other way around, when I create a folder and share this folder with others.

Workaround

  1. On your system where onedrived-dev runs, create a new folder you intend to share. At this point in time, it's just a folder. It should sync with the OneDrive servers without any problems.

  2. Within OneDrive web, make this folder a shared folder and share with others.

  3. The shared folder synchronisation worked now.

PS: I have not tested it, but methinks it might also be possible to get a shared folder synchronise that was not initially created on the local machine on which onedrived-dev runs. In such instance, creating the same folder at the same location on the local machine, might make it work too.