I tried the solution proposed by Sayed Metwaly (How to Sync OneDrive Business /Office 365 on Linux?) but I got the following error message:
=== Job === OneDrive_Sync: 'office365://xxxxxxxxx-my.sharepoint.com/personal/xxxxxx_oasis_xxxxxxxxx_be/Documents' <-> 'file:///home/xxxxxx/Onedrive'
142724 L: No file system for office365://xxxxxxxxx-my.sharepoint.com/personal/xxxxxx_oasis_xxxxxxxxx_be/Documents
File system at office365://xxxxxxxxx-my.sharepoint.com/personal/xxxxxx_oasis_xxxxxxxxx_be/Documents has been replaced by New OneDrive V2 API.
Click Browse button to Re-Browse to your OneDrive sync folder, as New OneDrive requires browser-based authentication (OAuth2)
Any idea on what I did wrong? Thanks
Best Answer
Here's what I did to get it working very quickly:
jobs.tix
file.~/.goodsync
folder on the Linux machine.jobs.tix
file in that folder.jobs.tix
file tojobs-groups-options.tix
— this allowed the entire configuration to be used.diff
output from the original Windowsjobs.tix
file: Wheretomh-a
is my Windows username,od
was my local Windows OneDrive folder,tomh
is my Linux username, andonedrive
is my local Linux OneDrive folder. You can safely ignore theTimeStamp
lines, I just left them in for completeness. Note that thisdiff
output was not sanitized or changed in any way except to replace certain characters with the corresponding HTML entities. So yes, you all now know my Windows and Linux user names and OneDrive sync folders. Can't see how that compromises my security, and it improves the chances that it is typo-free.Disclaimer: After I ran the sync (next step) Goodsync changed the line back to
Conn = <Connect>
. So I could be wrong. Maybe I could have left it as-was (and is again). But that's the last change I made before it started working. It's entirely possible that I changed something else at the same time that made it work. But at least making that change didn't break it for me :)It is my belief that the API v2.0 requirement of using OAuth has made it impossible to simply take someone else's
jobs-groups-options.tix
file and make it work for yourself simply using Linux. That is, until they decide to make a GUI version for Linux — or at least add the OAuth code that launches your browser to establish the authorization.