How to sync files with your onedrive account on ubuntu 14.04
With the world going gaga over Cloud storage, a number of operating systems are also providing their own cloud storage along with dedicated cloud players like Dropbox. Ubuntu has it’s own Ubuntu One (Ubuntu One is now closed down), Apple has iCloud and Microsoft has OneDrive. Problem comes with inter-portability. While Ubuntu One is available on Windows , OneDrive, quite obviously is not available in Ubuntu or other Linux systems.
In this tutorial I’ll show you how to use OneDrive in Ubuntu 14.04 in the same way you use Dropbox i.e. with full desktop integration and synchronization. Though the tutorial is performed on Ubuntu 14.04, it should be applicable to other Ubuntu versions as well as other Linux distributions.
To access OneDrive in Ubuntu. we’ll use a third party tool: Storage Made Easy. Storage Made Easy lets you use several cloud services in one place in both web interface as well as a desktop and mobile application. There are various premium version available for the service but we shall easily manage with the free account. Let’s see how to use Storage Made Easy to access OneDrive in Ubuntu Linux.
Use Microsoft OneDrive in Ubuntu 14.04 using Storage Made Easy
Using Storage Made Easy in Linux is not complex. It might not be straight forward though. You just need to tweak the configuration a little, that’s it. Don’t worry! It is very easy even for a first time Linux user. Lets go!
Step 1: Get Storage Made Easy account:
Head over to Storage Made Easy website and register for a free account. In free account, you will get 5 GB of free cloud storage PLUS you can add up to three additional cloud services.
Step 2: Add OneDrive in Storage Made Easy:
Once you have registered successfully, login to the Storage Made Easy and go to dashboard. Here, click on Add a cloud provider.
It will give you a list of cloud service provider. Choose OneDrive API from the list. The image is old as it was taken when OneDrive was called SkyDrive. But the option should still be the same.
Step 3: Authorize OneDrive use
Once you have added the OneDrive API, you need to authorize its use as well. Click on Authorize OneDrive API access. It will ask you to use your Microsoft account. Use the one that is linked to your OneDrive. It will ask for permissions, similar to Facebook app and Twitter app, just click on Yes here.
Step 4: Download Linux client
Now when you have added the OneDrive in to Storage Made Easy account, you need to get the Linux client of Storage Made easy for desktop integration. You can go to download page to get the Linux client. There are various client available for all the major Linux distributions. You can get .deb file for Ubuntu from this link. If you have troubles, see how to install .deb file easily.
Step 5: Configure Storage Made Easy
Once you have it installed, go to Unity Dash and look for SME. Start Storage Made Easy client.
Next step is to configure the client to use OneDrive in Ubuntu. When you start the client it will open a server configuration window. Fill the information. Pay special attention to the server you choose. Your login will only work with the server you registered with i.e. if you registered with EU server, you may not be able to log in to US server.
You should make a directory at a place where you want to store the OneDrive files. I have created a OneDrive directory in my home folder. Once you have filled all the information in the configuration, click on mount. If it was successful, you’ll see a box claiming “Success”.
Now if you go to the directory which you chose in previous step for OneDrive,. you’ll see your files there. If you put new files in this directory. it will automatically be synched with the OneDrive server. Cool, isn’t it?
Storage Made Easy is a boon for people who use multiple cloud services for more space. While an official Linux app for OneDrive is simply impossible, this trick to use OneDrive in Ubuntu 14.04 is nothing less than a miracle. What you say? Happy to access OneDrive in Ubuntu, ain’t you? Questions, suggestions, word of thanks are always welcomed. Till then ciao 🙂
Lori KaufmanLori Kaufman
Writer
Lori Kaufman is a technology expert with 25 years of experience. She’s been a senior technical writer, worked as a programmer, and has even run her own multi-location business. Read more.
OneDrive provides 15 GB of free cloud space for you to store photos, music, documents, and other files. These files can be synced among multiple devices such as smart phones, tablets, and PCs. However, you may not want to download all your content to certain devices.
If your PC has limited hard drive space, you may want to only sync certain folders from your OneDrive account. This is easily accomplished.
Open the notification tray by clicking the up arrow button on the right side of the task bar. Right-click on the OneDrive icon in the tray and select “Settings” from the popup menu.
On “Microsoft OneDrive” dialog box, click the “Choose folders” tab.
On the “Choose folders” tab, click the “Choose folders” button.
The “Sync your OneDrive files to this PC” dialog box displays. To prevent a specific folder from syncing to your PC, select the check box to the left of the folder name so there is NO check mark in the box.
The first time you deselect a folder for syncing, the following dialog box displays telling you that the files and folders will stay on OneDrive but not on your PC. If they’re currently on your PC, they will be deleted. Click “OK” to close the dialog box.
Once you’ve deselected the folders you don’t want to sync, click “OK” to close the dialog box.
You are returned to the main “Settings” dialog box. Click “OK” to close the dialog box.
To sync folders you previously chose not to sync, simply access the “Settings” for OneDrive and select the folders again. There should be a check mark in each check box you want to sync to your PC.
- › Why Professionals Will Actually Want a 2021 MacBook Pro
- › How to Add Images to Questions in Google Forms
- › How to Delete Your Photos on Facebook
- › Razer Thinks You Want a PC Gaming Headset That Vibrates
- › How to Get a Link to a Photo or Video on Instagram
Lori Kaufman
Lori Kaufman is a technology expert with 25 years of experience. She’s been a senior technical writer, worked as a programmer, and has even run her own multi-location business.
Read Full Bio »
I use a number of different cloud storage services for different purposes, because they each have certain advantages and disadvantages. What I like about Microsoft OneDrive is that it has a relatively small memory footprint and doesn’t bog down the system like other cloud storage clients that constantly run in the background.
| Cloud Storage Provider | Memory Usage* |
|---|---|
| BoxSync | 107.964K |
| Dropbox | 89.120K |
| OneDrive | 2.860K |
*measured while uploading
However, one problem that I’ve found with OneDrive is that it’s sometimes really slow to sync. Let’s say I work on a document on my laptop, then a few minutes later move to the sofa and try to pull up the file on the tablet … no luck, because OneDrive seems to sync files only once in a millenium.
I looked for a “sync now” button everywhere but came up empty. Scouring official forums, there were many people who had the same question but only canned answers.
Sometimes, even after a few hours or days (without reboot), OneDrive still hadn’t noticed and synced my changes. And what’s the use of a cloud storage system that is always days behind?
Have You Tried Turning it Off and On Again?
Now … it turns out that if you quickly close the client (or kill the process), and then restart it again, OneDrive wakes from its slumber, starts analyzing the changes and begins to sync!
So now, whenever I want to make sure that OneDrive syncs my changes before I move to a different device, I simply need to kill and restart the client. Here’s a simple batch script to automate that process:
Just (adapt and) paste this code into Notepad, save it as sync.bat or something and then, whenever you want to give OneDrive a whack on the head gentle reminder to sync your files, running the script will kill and restart the process for you.
On top of that you can also use Task Manager to run this script once per day or something.
The only downside that I’ve found with this is that once OneDrive restarts it pops up an explorer window of the folder, which is a minor annoyance, yet it still would be preferable not to require another action (close folder).
UPDATE: I’ve updated the above script so that no windows pop up anymore. Thanks Samuel for the hint about “/background” which I hadn’t been aware of.
UPDATE: I’ve changed the taskkill command to “onedrive.exe /shutdown” to prevent the Onedrive icon from getting stuck in the taskbar. Thanks “FatCharlie”.
It’s not perfect, but until Microsoft inserts a “sync now” button or just makes the syncing process more real-time, it’s better than nothing.
UPDATE: Apparently, there is a native manual sync option after all, but only in the Windows 8 OneDrive app, not in the Windows 7 client. Read more here. Thanks Joe for the tip-off.
UPDATE: Another interesting way to force OneDrive to sync without closing the client just reached me via email. Thanks Rudi! Here’s how it works: Drop a simple text file in your OneDrive folder. Now, whenever you make a change to that file, i.e. edit and save it, OneDrive will sync all your files.
Curiously though, this only works when the text file is in the main OneDrive folder. I tried updating a text file on my desktop (which is included via Symbolic Link in my OneDrive folder) and that didn’t do the trick.
How To Force OneDrive To Sync When Your Computer Wakes Up
For the past couple of months I’ve been using Windows Task Scheduler to start the above script once per day. However, I still sometimes found myself missing newly updated files when the changes were made before or after the scheduled time. Since I’m working on a laptop most of the time and my working sessions are started and ended with opening and closing the lid, I started looking for a way to run the above script whenever I open my computer. Here’s how it works.
- Start Windows Task Scheduler
- Create a New Task
- Under Triggers, Click “New”
- Select “On an event” from the “Begin the task” dropdown menu. Then select “Custom” and click on “New Event Filter”.
- In the popup, select XML and post the code below into the box:
Now, under “Actions” simply configure your task to run the batch script I’ve talked about in the beginning of the post and you’re good to go. Your computer will now force OneDrive to sync whenever it wakes up.
UPDATE: Should you experience an issue where the OneDrive icon doesn’t appear in your System Tray after launching via Task Scheduler, make sure that the option “Run only when user is logged on” is checked and “Run with highest privileges” is not checked. Thanks Mike for the tip!
Resetting Microsoft OneDrive can sometimes resolve sync issues and resets all OneDrive settings. OneDrive will perform a full sync after the reset.
You won’t lose any data by resetting or uninstalling OneDrive.
To reset the OneDrive desktop sync app in Windows
Open a Run dialog by pressing Windows key and R.
Copy this and paste it into the dialog window, then press OK.
%localappdata%\Microsoft\OneDrive\onedrive.exe /resetIf you see a “Windows cannot find. ” message, copy and paste this instead, then press OK.
C:\Program Files\Microsoft OneDrive\onedrive.exe /resetIf you see a “Windows cannot find. ” message, copy and paste this instead, then press OK.
C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /resetManually restart OneDrive by going to Start , type OneDrive in the search box, and then click on the OneDrive desktop app.
Resetting OneDrive disconnects all your existing sync connections (including personal OneDrive and OneDrive for work or school if set up). You won’t lose files or data by resetting OneDrive on your computer.
If you had chosen to sync only some folders before the reset, you will need to do that again once sync has completed. Read Choose which OneDrive folders to sync to your computer for more information.
You will need to complete this for your personal OneDrive and OneDrive for work or school.
To reset the OneDrive store app in Windows
Tip: If you’re not sure which OneDrive app you have, read Which OneDrive app do I have?
Press Start and enter apps:onedrive
Select App settings
Scroll down the list and select Reset.
To reset OneDrive on a Mac
Quit OneDrive. (Select the cloud icon in the top tray, then select Settings > Quit OneDrive.)
Find OneDrive in your Applications folder.
Right-click OneDrive and select Show Package Contents.
Browse to the Contents > Resources folder.
Double-click ResetOneDriveApp.command (or ResetOneDriveAppStandalone.command, if you’re using the standalone app).
Start OneDrive and finish the setup process.
When choosing location, remember to select the previous OneDrive syncing location. This means your files won’t be downloaded again if they haven’t changed.
If you had chosen to sync only some folders before the reset, you will need to do that again once sync has completed. Read Choose which OneDrive folders to sync to your computer for more information.
You will need to complete this for your personal OneDrive and OneDrive for work or school.
Make sure you’re using an updated version of the OneDrive app. Some older versions of the app don’t have the reset commands. In that case, drag your old app to the Trash and then install the latest OneDrive app.
To reset OneDrive on Android
The best way to reset the app it to uninstall and reinstall it.
Open Settings.
Select Applications.
Tap Manage Applications.
Find and tap OneDrive.
Tap Force Stop and then tap Clear data and Clear cache.
Once completed, uninstall the app.
Reinstall the app from Google Play.
To reset OneDrive on iOS
The best way to reset the app it to uninstall and reinstall it.
Uninstall the OneDrive app by pressing and holding the OneDrive app icon. Tap the ‘X’ in the corner and then accept the confirmation message to delete it.
Perform a “soft reset” by pressing and holding both the Sleep/Wake and Home buttons simultaneously for at least 10 seconds until you see the Apple logo. You can let go of both buttons after the Apple logo appears.
Reinstall the OneDrive app from the App Store.
Need more help?
Get online help
See more support pages for OneDrive and OneDrive for work or school.
For the OneDrive mobile app, see Troubleshoot OneDrive mobile app problems.Contact Support
If you still need help, contact support through your browser or shake your mobile device while you’re in the OneDrive app.Tips
Letting us know your location may help us resolve your issue more quickly.All fixed? If you contacted us and OneDrive starts working again, please let us know by replying to the email we sent you.
Thanks to open source, Ubuntu users now are able to sync content with Microsoft OneDrive while there is no official client for Linux.
OneDrive-d is an open source project on github that intends to develop an OneDrive (formerly SkyDrive) daemon on (X)Ubuntu Linux. The program is mainly written in Python and supplemented by Bash shell scripts. The API is based on Mike Kazantsev’s project python-onedrive.
With onedrive-d, you can simply create a folder and synchronize all content in your OneDrive account with that folder.
Install OneDrive-D in Ubuntu:
1. Download the package:
2. Extract the package and run the installer from the result folder: onedrive-d-master
To do so, press Ctrl+Alt+T and run the command below after your extracted the package:
Use ./inst reinstall if you have a previous version installed.
3. Once installed, you’ll see the previous Settings window that asks you to connect to OneDrive and select an folder to sync. If not, run:
When everything is done, run below command to start the daemon and enjoy!
Make Onedrive-d start at login:
Search for and open “Startup Applications” (without quotes) from the Unity Dash. Click Add and type in a name and onedrive-d in command box.
Important:
Support for the old OneDrive for Business sync app with SharePoint Online has ended. If you see this icon in your taskbar, read this article to learn more.With OneDrive, you can sync files between your computer and the cloud, so you can get to your files from anywhere – your computer, your mobile device, and even through the OneDrive website at OneDrive.com. If you add, change, or delete a file or folder in your OneDrive folder, the file or folder is added, changed, or deleted on the OneDrive website and vice versa. You can work with your synced files directly in File Explorer and access your files even when you’re offline. Whenever you’re online, any changes that you or others make will sync automatically.
This article describes how to download the OneDrive sync app and sign in with your personal account, or work or school account, to get started syncing. If you use Microsoft 365 Apps for business, you can also sync files from your SharePoint sites. If you’re not using Microsoft 365 Apps for business, see Sync SharePoint files with the OneDrive for Business sync app (Groove.exe).
Note: For information about syncing files on macOS, see Sync files with OneDrive on Mac OS X.
Note: For more information about how to use OneDrive, see OneDrive video training.
Install and set up
If you’re using Windows 10, your computer already has the OneDrive app installed – skip to step 2.
If you don’t have Windows 10 or Office 2016, install the Windows version of the new OneDrive sync app.
Start OneDrive Setup.
If you have no accounts signed in to OneDrive
If you don’t currently have an account signed in to OneDrive, use these instructions to start OneDrive.
Select the Start button, search for “OneDrive”, and then open it:
In Windows 10, select OneDrive.
In Windows 7, under Programs, select Microsoft OneDrive.
In Windows 8.1, search for OneDrive for Business, then select the OneDrive for Business app.
When OneDrive Setup starts, enter your personal account, or your work or school account, and select Sign in.
Key points in OneDrive Setup
There are two screens in OneDrive Setup that are helpful to watch for:
On the This is your OneDrive folder screen, select Next to accept the default folder location for your OneDrive files. If you want to change the folder location, select Change location – this is the best time to make this change.
On the All your files, ready and on-demand screen, you’ll see how files are marked to show them as online-only, locally available, or always available. Files On-Demand helps you access all your files in OneDrive without having to download all of them and use storage space on your Windows device. Select Next.
Note: If you were already syncing OneDrive for work or school to your computer (using the previous sync app) and you’ve just installed the sync app, you won’t see the This is your OneDrive folder or the Sync files from your OneDrive screen during OneDrive Setup. The sync app automatically takes over syncing in the same folder location you were using before. To choose which folders you’re syncing, right-click the blue cloud icon in the taskbar notification area, and select Settings > Account > Choose folders.
See and manage your OneDrive files
You’re all set. Your OneDrive files will appear in File Explorer in the OneDrive folder. If you use more than one account, your personal files appear under OneDrive – Personal and your work or school files appear under OneDrive – CompanyName.
You now have a new white or blue cloud icon (or both) in your notification area and your files are synced to your computer. Your blue cloud icon will appear as OneDrive – [YourTenantName] when you hover over the icon.
Note: Contoso is an example name – yours will show the name of your organization.
Any time you want to change the folders you sync on your computer, right-click that cloud icon in the taskbar notification area, and select Settings > Account > Choose folders. Find other information about your account and change other OneDrive settings from here.
Over the last few years, we saw a massive expansion and development of cloud storage services. Cloud services are great if you need to back up your data and collaborate with others, and since OneDrive is integrated with Windows 10, we decided to make make this guide and teach you a thing or two about it.
OneDrive was first introduced as SkyDrive in August 2007, and it went through some massive changes over the years. In 2011 Microsoft did an overhaul of SkyDrive and rebuilt its web version by using the latest HTML5 technologies. The revamped version of SkyDrive offered new features such as caching, HTML5 video and improved visual design. In February 2014, due to a lost lawsuit, Microsoft had to rebrand SkyDrive as OneDrive.
Here’s all you need to know about OneDrive on Windows 10
In addition to its name, OneDrive also changed the amount of free space that it offers to users. According to Microsoft, free users were abusing the OneDrive service by backing up movie collections and therefore OneDrive storage space was reduced to 5GB for free users. Of course, you can still increase OneDrive storage from 5GB to 15GB by referring your friends. In addition, you can also expand your storage by selecting a package and paying a monthly fee.
OneDrive pricing
- OneDrive Basic 5GB (storage only) – FREE
- OneDrive 50 Gb (storage only) – $1,99/month
- Premium OneDrive Features with Office 365 Personal for $6,99/month – storage 1Tb – or with Office 365 Home for $9.99/month – storage 5Tb.
OneDrive access
To access OneDrive on your PC, you need to do the following:
- Press Windows Key + S and enter OneDrive. Select OneDrive from the list of results.
- Enter your Microsoft account username and password to log in to OneDrive.
After you log in with your Microsoft Account, OneDrive will be enabled on your PC. OneDrive will offer you to sync your Documents folder, and you can choose to Sync all files and folders or to sync only specific folders.
OneDrive account and login
OneDrive collaboration features
OneDrive is designed as a collaboration tool for wide range of platforms, and you can access OneDrive from your Mac computer, Xbox console, Android device, Windows Phone or iPhone, as long as you have the required app.
OneDrive allows you to simultaneously edit documents with other users. This is a great feature if you are working on a specific project with your colleague or classmate since both of you can make changes in real time.
OneDrive allows you to save documents right to it directly from any Office tool, but you can also visit OneDrive website and edit any of your documents or notes by using Microsoft Office Online. Even if you don’t use any of the Office tools, you can create Office documents right from the OneDrive simply by clicking the New button and choosing what type of document you wish to create.
Regarding file upload, you can upload any file to OneDrive, simply by dragging and dropping in to the OneDrive web application. You can also use the Upload menu to select files and folders manually from your PC.
If you prefer, you can also upload and edit files on your PC and they will be automatically synced and added to OneDrive. To do that, simply access OneDrive folder on your PC, and create new files or folders in it to add them to OneDrive. Since your files are in sync, you can simply make changes from OneDrive web app and your files in OneDrive folder on your PC will be automatically changed and vice versa.
OneDrive for business
Sharing is also rather straightforward in OneDrive, and in order to share a file or folder, you just need to do the following:
- Right click the file or folder you want to share in OneDrive web app and choose Share from the menu.
- Now you can select the permissions for that document and allow users to edit it or just view it.
- Copy the link and share it with others in order to share your document.
- Optional: If you prefer, you can also share file or folder via email, and allow users to just view or edit the document.
- Optional: There’s also an ability to share files or folders using social media, but we advise you to be careful while using this option.
In addition to sharing, there’s also an option available to embed your documents on a web page, but if you choose to use this option bear in mind that everybody will be able to view your embedded documents.
OneDrive photos
OneDrive is one of the best cloud services, and it can be great if you want to collaborate with others, or if you simply want to store your files online for backup. Now that you know how OneDrive works on Windows 10, make sure you give it a try.
If you experience any issues at all, check out the following guides. We’d love to hear about your experience with OneDrive, so feel free to leave us a comment below.
OneDrive sync issues
- OneDrive Sync Problems in Windows 10 [Fix]
How to turn off OneDrive
One of the FAQ is: can I remove OneDrive from my computer?
The short answer will be: no, but there’s a workaround. You can’t uninstall it like an app because OneDrive is built into Windows 10. However, you can hide it and stop syncing OneDrive files to your PC.
Follow these guides to Turn off, disable, or unsync OneDrive on your device:
At my school we are starting to implement Office 365 for our students. We are working on basis of a bring-your-own-device strategy and will meet all kinds of devices and OS’s. Office 365 comes with a built-in cloud feature, which can be synced to a newer Windows machine. Is there a possibility to sync to Ubuntu or Lubuntu machine, as it is possible with fx Dropbox? Thanks for helping. Armin
5 Answers 5
One Drive business (former Skydrive Business) also used as Sync tool for SharePoint has no native client for Linux. It is based on the Groove tool MS had back in the days.
For now you can only use the web browser to upload/download files.
Your best bet is that for OneDrive a Linux client/tool/daemon (like ) will be built and that OneDrive Business support to use the same.
you can synchronize Ubuntu with oneDrive but not with the busines version. So use the free version and it works well. There is solution for ubuntu 14-04. I use it on 15 and it works fine. How to sync OneDrive on Ubuntu 14.04? All what I have to do is some minor adjustment – not reported on other ubuntu machines.
Here is my working solution: not a sync but a full access is possible with spfilezilla .
Install mono-complete package
Run spfilezilla with mono
Download link: There you get the source code and binary (in bin/Debug folder). Be adviced that currently the download feature is in progress due to a missing token. The problem is in spcomhelper.cs file at line
which is not able to generate the temporary token needed to download the single file.
OneDrive, Microsoft’s cloud storage service is a pretty popular offering when it comes to cloud storage services. OneDrive enables us to access our files anytime, anywhere, on all our devices. However, there is one big caveat – no official Linux client is available. Therefore, Linux users have to rely on the web version (which does not provide syncing), or on unofficial clients. There used to be a working unofficial client named onedrive-d, however, it is no longer maintained. Having said that, there is another unofficial OneDrive client appropriately named onedrive by GitHub user skilion. It has support for manual and automatic sync, real-time file monitoring and resumable uploads. Although the set up involves some tinkering and using the command line, it works well enough for daily usage and does not pose problems. So, if you are looking to sync your OneDrive data with your Linux computer, here’s how to do it:
Note : This program has been tested under Linux Mint 18. These instructions will work unmodified with Ubuntu 16.04. While getting it to work with other distributions is possible, we haven’t covered it in this article.
Installing OneDrive on Linux
Open the Terminal, and run the following commands to install the prerequisite software libcurl , libsqlite , build-essential , and git :
sudo apt-get install libcurl4-openssl-dev libsqlite3-dev build-essential git
After the installation is complete, run the following commands to install the compiler for the D programming language:
sudo wget -O /etc/apt/sources.list.d/d-apt.list
wget -qO – | sudo apt-key add –
sudo apt-get update && sudo apt-get install dmd-binWe will now download and install the onedrive software. In your Home directory, download the source code using the following command:
[sourcecode]git clone onedrive_code[/sourcecode]
Now, compile and install the software:
[sourcecode]cd onedrive_code
make
sudo make installAnd you are done.
Configuring Your OneDrive Account
To configure your OneDrive account for the first time, open the Terminal, and run onedrive . You will see a prompt with a URL like this:
Simply copy this URL, and enter it in your web browser of choice. You will be asked for your Microsoft account and password. Once entered, you will get the following screen:
Select Yes here, and copy the URL that appears on the following screen:
Now paste this URL in your Terminal window, and press Enter. You will notice that it automatically starts syncing your OneDrive account with the Onedrive folder in your home directory. If you have several gigabytes of data stored in your OneDrive account, be patient because this is going to take a while.
Basic Usage
Whenever you want to sync your local storage with your OneDrive account on Linux, simply run the command onedrive from your terminal. As a demonstration, I deleted some images from my OneDrive storage using the web app. On my Linux system, I created a text file in the Onedrive folder. Running the command onedrive gives me the following result:
Setting Up Automatic Sync
If you wish to automatically keep your OneDrive account in sync, instead of running the command manually every time, you can enable the systemd service. In a terminal, run:
[sourcecode]systemctl –user enable onedrive
systemctl –user start onedrive[/sourcecode]There is a caveat here. Adding or removing files from your local filesystem reflects the changes in your OneDrive account almost instantly. However, the other way round is slightly delayed. This is not a big deal for most people, but can be a problem if you transfer a lot of files regularly.
If you are not sure whether or not a certain file synced or not, you can check the logs. To do that, run:
[sourcecode]journalctl –user-unit onedrive -f[/sourcecode]
Excluding Files And Folders From Syncing
Let’s say you have a folder filled to the brim with HD videos in your OneDrive account, and you want to avoid syncing that, as it will take up significant bandwidth and space. Maybe you also want to avoid syncing disc images (.iso files). To do this, open the file
/.config/onedrive/config using your favorite text editor, and modify the skip_file and skip_dir sections accordingly:
If you are running the sync service, then you need to turn it off first:
[sourcecode]systemctl –user stop onedrive[/sourcecode]
After that, run onedrive with the resync option:
After this, you can re-enable the sync service:
[sourcecode]systemctl –user start onedrive[/sourcecode]
Use OneDrive Seamlessly With Linux
Another good Linux OneDrive client to consider is rclone. While it only offers manual sync, it has certain additional features not present in onedrive, such as support for simultaneous, multiple cloud accounts, including, but not limited to OneDrive, Google Drive, Dropbox, Amazon S3 and Yandex. You can get rclone here.
Well, that’s how you can sync a Microsoft OneDrive account with Linux. Do let us know how it works for you. If you are having problems setting it up, feel free to ask us a question in the comments section below.