

You can find the “config” file at the onedrive git folder. To get it to monitor your local folder for changes. Onedrive will start downloading all your files in the cloud to your local folder. To start synchronizing OneDrive to your local folder, run Copy the URL and paste it into the Terminal at the prompt. Once this is done, you will be presented with a blank white page. Log in to your OneDrive account, and grant the app permission to access your account. Simply enter the following in the Terminal:Īnd it will prompt you to visit the URL to get authorization. If you are using Ubuntu 18.04 or newer, use snap to install dmd:Īfter installing the dependencies, fetch the files with git:Īfter you have done this, now you need to authorize onedrive with Microsoft so it can access your account. Head to the Terminal and enter one of the following. In order to install onedrive, first you need to install some dependencies and set up git, unless you already have it. Onedrive is a CLI-based client that allows you to sync quickly and easily with OneDrive.

There are a number of ways to do this, and this is where the onedrive script comes into play. OneDrive is Microsoft’s cloud-based storage offering, and even though it is naturally suited to the Windows platform, it will connect with Linux-based machines with little effort.
