iopreference.blogg.se

How to install onedrive for business
How to install onedrive for business




  1. How to install onedrive for business how to#
  2. How to install onedrive for business windows 10#
  3. How to install onedrive for business download#

Rclone sync -v /home/pi/Documents/download onedrive:Documents/Download

how to install onedrive for business

If you would like to Upload files to OneDrive from your Raspberry PI, simply swap the source and destination. First you will need to install Raspbian,

How to install onedrive for business how to#

Below I will detail the project and how to set it up on a Raspberry Pi. It can be easily customized to suit your needs. It makes a nice Photo Display with weather and the time. This is a project I have been working on for my house. I use this to synchronize photos to my raspberry pi Photo frame project.

  • That’s it! Restart your Raspberry Pi and add files to your OneDrive.
  • Save the file (usually Ctrl + O to save and Ctrl + X to exit).
  • Enter the following string – 0 * * * * /home/pi/Documents/sync.sh.
  • Open a terminal window and run the command crontab -e

    How to install onedrive for business download#

  • This file will call the connection and download any new files from OneDrive.
  • Now make the file executable, in the terminal enter chmod +x /home/pi/Documents/sync.sh.
  • Put the file in the /home/pi/Documents on your Raspberry Pi.
  • You can also change the path, this is where the folder is synced to.
  • If you have used different names to me, replace onedrive with your connection name and replace Documents with your onedrive folder name.
  • If you’re comfortable with a text editor you can enter this string into the text editor on the raspberry pi and save it as sync.sh rclone sync -v onedrive:Documents /home/pi/Documents/Download

    how to install onedrive for business

    For this method you need to login to the pi directly, or use nano in the terminal to create the script file. If successful you will see the terminal start downloading each file to the folder. The contents will be downloaded to you documents/Download (you may need to create this folder) folder on the pi. rclone sync -v onedrive:Documents /home/pi/Documents/Download This command will sync the “onedrive” connection “Documents” folder to your raspberry pi. First open a terminal and test your sync command.sh script and set it to run at a set time. Now we have set up the connection, however we still have to synchronize the folder with the raspberry PI.Using a web browser or phone app, In your OneDrive create a folder to sync i’ll call mine Documents.Now select y for yes again to save the connection.Now select the OneDrive you would like to use, you will probably only have one OneDrive linked to your account.Now choose 1 for OneDrive Personal or Business.You will then see “success” and you can close the web browser.A browser window will now open, log in with your Microsoft Account and select yes to allow OneDrive access.You then login, when you get success paste the result from the terminal window into your remote terminal.Then run the command rclone authorize onedrive.

    How to install onedrive for business windows 10#

    (For windows 10 see the section at the bottom)

  • Only follow if your Pi doesn’t have a Desktop installed (Headless) – you will need to install rclone on a machine that has a desktop and web browser.
  • Enter y for auto config (if you are on the Pi Directly) or n if you are logged in remotely through SSH and then press enter.
  • Press n and enter for edit advanced config.
  • Enter a name for the connection (i’ll enter onedrive) and press enter.
  • Enter n (for a new connection) and then press enter.
  • Once this has finished you are ready to configure rclone.
  • First open a Terminal window sand enter curl -L | bash.
  • Just choose a different number in step 6. Google Drive or Dropbox and the process is very similar. You can also use this for many other types of drives eg. For this project I am just going to synchronize my Documents folder from OneDrive. In this tutorial I will show you how to synchronize any files with your Raspberry PI using OneDrive as the example.






    How to install onedrive for business