mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-23 16:12:12 +02:00
29808c905c
* Implement --get-O365-drive-id to return the correct drive_id of a SharePoint Shared Library to use for syncing that repository
788 B
788 B
Show how to access a Sharepoint group drive in Office 365 business or education
Obtaining the Sharepoint Site Details
- Login to OneDrive and under 'Shared Libraries' obtain the shared library name
- Run the following command using the 'onedrive' client
onedrive --get-O365-drive-id '<your library name>'
- This will return the following:
Initializing the Synchronization Engine ...
Office 365 Library Name: ab-github-odtest
drive_id: b!6H.....l7vVxU5
Configuring the onedrive client
Once you have obtained the 'drive_id' above, add to your 'onedrive' configuration file (~/.config/onedrive/config
)the following:
drive_id = "insert the drive id from above here"
The OneDrive client will now sync this SharePoint shared library to your local system.