Multiple Microsoft Onedrive install methods - which do you prefer?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
- Eclipsenow+
- Level 2
- Posts: 92
- Joined: Mon Oct 07, 2019 3:26 am
Multiple Microsoft Onedrive install methods - which do you prefer?
Hi all,
I found this video interesting but a little beyond me.
Maybe it's quarantine-brain.
Uses tool Rclone
(It's terminal but he's running Arch / Manjaro terminal so we'd use "sudo apt install rclone" instead - any other terminal changes to what he does because I'm a total newb.)
https://www.youtube.com/watch?v=9u0LibdiF88
This one was more specifically Linux Mint and seemed a little easier to understand.
(Covers Drop Box and Google first so I timed it at Microsoft.)
https://youtu.be/rnSzNH5tkpQ?t=470
Which do you prefer? Any other guides on this?
I found this video interesting but a little beyond me.
Maybe it's quarantine-brain.
Uses tool Rclone
(It's terminal but he's running Arch / Manjaro terminal so we'd use "sudo apt install rclone" instead - any other terminal changes to what he does because I'm a total newb.)
https://www.youtube.com/watch?v=9u0LibdiF88
This one was more specifically Linux Mint and seemed a little easier to understand.
(Covers Drop Box and Google first so I timed it at Microsoft.)
https://youtu.be/rnSzNH5tkpQ?t=470
Which do you prefer? Any other guides on this?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Cinnamon 20 on (2011?) ASUS i7-2670QM CPU @ 2.2GHz 4 Cores; 8 threads, 32G RAM, GeForce GT 540M
Re: Multiple Microsoft Onedrive install methods - which do you prefer?
I prefer not using Microsoft products if I can help it.
- Eclipsenow+
- Level 2
- Posts: 92
- Joined: Mon Oct 07, 2019 3:26 am
Re: Multiple Microsoft Onedrive install methods - which do you prefer?
Sure but:
- my home business has this anyway
- It will reduce my psychological dependence on Apple's Time Machine backup
- 1 terabit storage for free!
Cinnamon 20 on (2011?) ASUS i7-2670QM CPU @ 2.2GHz 4 Cores; 8 threads, 32G RAM, GeForce GT 540M
Re: Multiple Microsoft Onedrive install methods - which do you prefer?
I use the app "Onedrive" from the software repository. It installs like any app, but need setting up in the terminal.
- Go watch the hompage linked to it.
http://skilion.github.io/onedrive/
- Go watch the hompage linked to it.
http://skilion.github.io/onedrive/
Re: Multiple Microsoft Onedrive install methods - which do you prefer?
The 'skilion' repo appears to have been abandoned in 2018 and contains many defects that put you at risk of data loss and corruption if you use it. The original author is totally uncontactable despite numerous efforts by myself and others.JohnDoeDK wrote: ⤴Wed May 13, 2020 11:52 pm I use the app "Onedrive" from the software repository. It installs like any app, but need setting up in the terminal.
- Go watch the hompage linked to it.
http://skilion.github.io/onedrive/
If you wish to use the latest code which contains numerous fixes and enhancements you need to clone & build from this repo: https://github.com/abraunegg/onedrive
To be notified of new releases / bug fixes please also watch the new repo.
Major differences / Enhancements:
- Existing bugs with 'skilion' client fixed
- File upload / download validation to ensure data integrity
- SharePoint / Office 365 Shared Libraries added
- Desktop notifications via libnotify
- Dry-run capability to test configuration changes
- Prevent major OneDrive accidental data deletion after configuration change
- Support for National cloud deployments (Microsoft Cloud for US Government, Microsoft Cloud Germany, Azure and Office 365 operated by 21Vianet in China)
- Support for OneDrive Personal and OneDrive Business Shared Folders
- smurphos
- Level 18
- Posts: 8501
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: Multiple Microsoft Onedrive install methods - which do you prefer?
Not specific to OneDrive but I've used rclone for years for my Google Drive integration and it works very well.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: Multiple Microsoft Onedrive install methods - which do you prefer?
Didn't know that. Thanks for the info.abraunegg wrote: ⤴Sun Jun 21, 2020 3:02 amThe 'skilion' repo appears to have been abandoned in 2018 and contains many defects that put you at risk of data loss and corruption if you use it. The original author is totally uncontactable despite numerous efforts by myself and others.JohnDoeDK wrote: ⤴Wed May 13, 2020 11:52 pm I use the app "Onedrive" from the software repository. It installs like any app, but need setting up in the terminal.
- Go watch the hompage linked to it.
http://skilion.github.io/onedrive/
If you wish to use the latest code which contains numerous fixes and enhancements you need to clone & build from this repo: https://github.com/abraunegg/onedrive
To be notified of new releases / bug fixes please also watch the new repo.
Major differences / Enhancements:
- Existing bugs with 'skilion' client fixed
- File upload / download validation to ensure data integrity
- SharePoint / Office 365 Shared Libraries added
- Desktop notifications via libnotify
- Dry-run capability to test configuration changes
- Prevent major OneDrive accidental data deletion after configuration change
- Support for National cloud deployments (Microsoft Cloud for US Government, Microsoft Cloud Germany, Azure and Office 365 operated by 21Vianet in China)
- Support for OneDrive Personal and OneDrive Business Shared Folders
If I use the ppa, the dependencies will follow? (excuse me, nooby question)
Re: Multiple Microsoft Onedrive install methods - which do you prefer?
In order to install onedrive, first you need to install some dependencies and set up git, unless you already have it. Head to the Terminal and enter one of the following.
For Ubuntu:
If you are using Ubuntu 18.04 or newer, use snap to install dmd:
If not:
For Fedora:
Arch Linux:
Installation
After installing the dependencies, fetch the files with git:
And compile and install it:
After you have done this, now you need to authorize onedrive with Microsoft so it can access your account after Onedrive or SharePoint Migration. Simply enter the following in the Terminal:
onedrive
And it will prompt you to visit the URL to get authorization.
onedrive-authorize-url
Log in to your OneDrive account, and grant the app permission to access your account.
ms-auth
Once this is done, you will be presented with a blank white page. Copy the URL and paste it into the Terminal at the prompt.
onedrive-response-url
This will complete the setting up.
To start synchronizing OneDrive to your local folder, run
onedrive --synchronize
Onedrive will start downloading all your files in the cloud to your local folder.
Alternatively, you can run:
onedrive --monitor
to get it to monitor your local folder for changes.
Configuration
You can find the “config” file at the onedrive git folder. To make it active, move it to the “~/.config/onedrive/” folder.
mkdir -p ~/.config/onedrive
cp ~/onedrive/config ~/ .config/onedrive/config
Open the config file. There are three options that you can configure: “sync_dir” and “skip_files.”
sync_dir: the location to store your OneDrive files. All files placed in/removed from this folder will be synced to the cloud.
skip_files: the file type (or file pattern) that won’t be synced.
monitor_interval: the time interval between sync operations.
Once you have made the changes, save and restart onedrive.
At any time, you can check your configuration with the command:
onedrive --display-config
For Ubuntu:
Code: Select all
sudo apt install libcurl4-openssl-dev git
sudo apt install libsqlite3-dev
Code: Select all
sudo snap install --classic dmd && sudo snap install --classic dub
Code: Select all
sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
sudo apt-get update && sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring
sudo apt-get update && sudo apt-get install dmd-compiler dub
Code: Select all
sudo yum install libcurl-devel git
sudo yum install sqlite-devel
curl -fsS https://dlang.org/install.sh | bash -s dmd
Code: Select all
sudo pacman -S curl sqlite dlang git
After installing the dependencies, fetch the files with git:
Code: Select all
git clone https://github.com/abraunegg/onedrive.git
Code: Select all
cd onedrive
./configure
make
sudo make install
onedrive
And it will prompt you to visit the URL to get authorization.
onedrive-authorize-url
Log in to your OneDrive account, and grant the app permission to access your account.
ms-auth
Once this is done, you will be presented with a blank white page. Copy the URL and paste it into the Terminal at the prompt.
onedrive-response-url
This will complete the setting up.
To start synchronizing OneDrive to your local folder, run
onedrive --synchronize
Onedrive will start downloading all your files in the cloud to your local folder.
Alternatively, you can run:
onedrive --monitor
to get it to monitor your local folder for changes.
Configuration
You can find the “config” file at the onedrive git folder. To make it active, move it to the “~/.config/onedrive/” folder.
mkdir -p ~/.config/onedrive
cp ~/onedrive/config ~/ .config/onedrive/config
Open the config file. There are three options that you can configure: “sync_dir” and “skip_files.”
sync_dir: the location to store your OneDrive files. All files placed in/removed from this folder will be synced to the cloud.
skip_files: the file type (or file pattern) that won’t be synced.
monitor_interval: the time interval between sync operations.
Once you have made the changes, save and restart onedrive.
At any time, you can check your configuration with the command:
onedrive --display-config
Re: Multiple Microsoft Onedrive install methods - which do you prefer?
If you just want a GUI for rclone try https://github.com/kapitainsky/RcloneBrowser
- Eclipsenow+
- Level 2
- Posts: 92
- Joined: Mon Oct 07, 2019 3:26 am
Re: Multiple Microsoft Onedrive install methods - which do you prefer?
Can I just say the post a few back with 20 something lines of terminal commands is quite intimidating to a newbie like myself?
I think I'll have a look at the GUI version - I just hope it doesn't take that much code.
I wish there was something on the app store to just download.
I think I'll have a look at the GUI version - I just hope it doesn't take that much code.
I wish there was something on the app store to just download.
Cinnamon 20 on (2011?) ASUS i7-2670QM CPU @ 2.2GHz 4 Cores; 8 threads, 32G RAM, GeForce GT 540M
Re: Multiple Microsoft Onedrive install methods - which do you prefer?
I am the developer of the Linux OneDrive Client: https://github.com/abraunegg/onedriveEmma1410 wrote: ⤴Fri Sep 18, 2020 8:27 am In order to install onedrive, first you need to install some dependencies and set up git, unless you already have it. Head to the Terminal and enter one of the following.
...
incorrect instructions removed
...
At any time, you can check your configuration with the command:
onedrive --display-config
The information you have posted is not entirely accurate or correct. Whatever website you pulled those commands from is providing incorrect information - you do not need to modify the apt list, or do anything like that. It appears that most of those commands are from ~2017 and were relevant for the 'skilion' client, which was abandoned in 2018.
For Linux Mint users you have 2 options to install the client:
1. Use the Ubuntu PPA - This supports Ubuntu 19.x and Ubuntu 20.x
2. Compile from source - This is your only option if you are running Ubuntu 18.x and below.
To compile from source (confirmed with Linux Mint 19.x):
1. Install the dependencies
Code: Select all
sudo apt install build-essential libcurl4-openssl-dev libsqlite3-dev pkg-config git curl
Code: Select all
curl -fsS https://dlang.org/install.sh | bash -s dmd
Code: Select all
source ~/dlang/dmd-2.093.1/activate
Code: Select all
git clone https://github.com/abraunegg/onedrive.git
Code: Select all
cd onedrive; ./configure; make clean; make;
Code: Select all
sudo make install
1. Configure your platform to use the OpenSuse Build Service
Refer to: https://github.com/abraunegg/onedrive/b ... install.md
2. Install 'onedrive' from the OpenSuse Build Service
Code: Select all
sudo apt install onedrive
For further details refer to:
- Install Guide: https://github.com/abraunegg/onedrive/b ... INSTALL.md
Last edited by abraunegg on Wed Oct 13, 2021 1:31 am, edited 3 times in total.
Re: Multiple Microsoft Onedrive install methods - which do you prefer?
Please see the steps in my post. The 20+ lines are not correct.Eclipsenow+ wrote: ⤴Sat Sep 19, 2020 9:03 am Can I just say the post a few back with 20 something lines of terminal commands is quite intimidating to a newbie like myself?
I think I'll have a look at the GUI version - I just hope it doesn't take that much code.
I wish there was something on the app store to just download.
- Eclipsenow+
- Level 2
- Posts: 92
- Joined: Mon Oct 07, 2019 3:26 am
Re: Multiple Microsoft Onedrive install methods - which do you prefer?
Thanks so much!abraunegg wrote: ⤴Sun Sep 20, 2020 9:58 pmPlease see the steps in my post. The 20+ lines are not correct.Eclipsenow+ wrote: ⤴Sat Sep 19, 2020 9:03 am Can I just say the post a few back with 20 something lines of terminal commands is quite intimidating to a newbie like myself?
I think I'll have a look at the GUI version - I just hope it doesn't take that much code.
I wish there was something on the app store to just download.
Cinnamon 20 on (2011?) ASUS i7-2670QM CPU @ 2.2GHz 4 Cores; 8 threads, 32G RAM, GeForce GT 540M