odopen command in MAC OS

Adriano Palmieri 1 Reputation point
2021-07-21T08:50:54.853+00:00

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!

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,193 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,283 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. RaytheonXie_MSFT 38,876 Reputation points Microsoft Vendor
    2021-07-22T07:47:58.337+00:00

    Hi @Adriano Palmieri ,
    You can take following reference:
    https://learn.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.

    0 comments No comments

  2. Mike Hudson 1 Reputation point
    2022-06-28T17:21:25.367+00:00

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.