question

AdrianoPalmieri-0410 avatar image
0 Votes"
AdrianoPalmieri-0410 asked MikeHudson-8074 edited

odopen command in MAC OS

Hi.

We created an automatic script in Windows (for simplicity with AutoIT) and use this command to synchronize sharepoint shared folders with onedrive applications:

"start odopen://synch/?"siteID=.............."

We need to do the same thing in MAC OS but we don't know how to.

Is there a similar command or in which way we can solve this situation?

Thank you!

office-sharepoint-onlinesharepoint-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RaytheonXie-MSFT avatar image
0 Votes"
RaytheonXie-MSFT answered RaytheonXie-MSFT edited

Hi @AdrianoPalmieri-0410 ,
You can take following reference:
https://docs.microsoft.com/en-us/onedrive/deploy-and-configure-on-macos
https://support.microsoft.com/en-us/office/sync-files-with-onedrive-on-mac-os-x-d11b9f29-00bb-4172-be39-997da46f913f


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MikeHudson-8074 avatar image
0 Votes"
MikeHudson-8074 answered MikeHudson-8074 edited

Adriano, I am experimenting with this too. The odopen:// protocol handler exists on MacOS as well, so the same URL syntax should work just fine.

Instead of "start" on windows though, use "open" on MacOS. So any script with a line like the one below should do the trick, as long as you've got the URL formatted properly.

 open "odopen://sync/?siteId={aaaaaaa...."

Full disclosure, I don't have mine working yet, I just started experimenting today. But I do have OneDrive opening in response to calling the odopen:// URL.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.