Use Microsoft ONEDRIVE in LINUX: EASY with rclone

  Рет қаралды 35,506

My Linux For Work

My Linux For Work

Күн бұрын

In this video you will learn how you can access Microsoft OneDrive from Arch Linux with rclone.
Rclone is an open-source command line program that allows you to sync files and directories to and from a variety of cloud storage services, such as Microsoft OneDrive, Google Drive, Dropbox, and Amazon S3. It's easy to use, reliable, and secure.
Rclone can be used to backup files and directories to the cloud, and keep them in sync with local copies. It can also be used to move files between cloud storage providers, or to mount cloud storage services as local drives.
Rclone is written in Go and is available for Linux, macOS, and Windows. It's free and open-source, and can be installed with a few simple commands.
Rclone Homepage:
rclone.org/
Create folder:
mkdir OneDrive
Install rclone:
sudo pacman -S rclone
Start Configuration:
rclone config
Mount OneDrive:
rclone --vfs-cache-mode writes mount OneDrive: ~/OneDrive &
Welcome to my channel! I'm Stephan Raabe, a Digital Marketing Professional with over 20 years of experience in B2B digital marketing, computer science, and web technologies.
Linux is an exceptional operating system that powers my business and personal life every day. It's stable, fast, and highly customizable to meet individual needs. On this channel, I share my Arch Linux setup, share experiences with differnet Linux distributions, featuring window managers like Hyprland and Qtile.
Whether you're a Linux enthusiast or someone looking to optimize your tech setup, there's something here for you. Subscribe and let's explore together!
👉 ML4W Dotfiles for Hyprland: github.com/myl...
👉 ML4W Dotfiles Wiki: github.com/myl...
👉 ML4W Hyprland Starter: github.com/myl...
👉 ML4W Hyprland Starter Wiki: github.com/myl...
👉 ML4W Hyprland Settings App: github.com/myl...
👉 Homepage: www.ml4w.com
👉 Discord: / discord
👉 ChatGPT Python Script: github.com/myl...
#linux #onedrive #office365 #microsoft #archlinux

Пікірлер: 131
@TheSorrowOfTheReaper
@TheSorrowOfTheReaper 6 ай бұрын
It finally worked! I have been trying forever to get OneDrive to sync with Ubuntu, and thanks to your video I made it! Thanks!
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
That’s great.
@Beny10
@Beny10 Жыл бұрын
Thank you sooooo much! I switched to Linux 2 years ago and I just discovered rclone and thanks to your easy tutorial I am now able to manage my files directly on my computer without using the Web UI that is not great at all to manage a lot of files.
@mylinuxforwork
@mylinuxforwork Жыл бұрын
Thank you so much for your feedback. Have fun with rclone.
@lucianoramirez6111
@lucianoramirez6111 8 ай бұрын
Thanks man. I am noob starting to slowly learn about linux. I use one drive and this is godsend.
@mylinuxforwork
@mylinuxforwork 8 ай бұрын
Great. 👍
@steeltormentors
@steeltormentors 4 ай бұрын
damn you're slammin that enter key pretty hard man! great tutorial...very easy to follow and got mine setup nicely! thanks!
@mylinuxforwork
@mylinuxforwork 4 ай бұрын
I know. Sorry… 😀
@optalgin2371
@optalgin2371 4 ай бұрын
My thoughts exactly lmao but bro delivered! You rock Just got running on Ubu 24.
@RodrigoLeaoBR
@RodrigoLeaoBR 12 күн бұрын
Your video help me a lot! Thank you so much! I used linux a long time ago, and return this month in my laptop. I realy need a onedrive sync to use with Obsidian and your video is realy clear and objective. Thanks!
@mylinuxforwork
@mylinuxforwork 9 күн бұрын
Great. Thanks for your feedback.
@TheDrAkira
@TheDrAkira 7 күн бұрын
Thank you man! Super easy to follow the steps with you! works perfect! Thanks again!
@mylinuxforwork
@mylinuxforwork 6 күн бұрын
Thanks so much for your feedback.
@joebenni2
@joebenni2 7 ай бұрын
Thank you for your video. This worked and it was easy to follow your instructions. I appreciate you and your video!
@mylinuxforwork
@mylinuxforwork 7 ай бұрын
Thank you.
@laureven
@laureven Ай бұрын
Thank You for a video :) ... Only one funny comment ... "Enter" key is seriously punished for something :) in this video :) ... I tried to replicate the sound and I have OneLess keyboard :) Regards :)
@mylinuxforwork
@mylinuxforwork Ай бұрын
👍😀😅
@ivanbarta2821
@ivanbarta2821 8 ай бұрын
This is a great tutorial 👍, thank you. I used Windows until the installation of Windows on the second disk damaged booting of Windows on first disk... I had some important data on OneDrive. Now I'm trying Arch Linux for web development. Hope it's a good choice...
@mylinuxforwork
@mylinuxforwork 8 ай бұрын
Thanks for your feedback. Arch is my daily business driver incl. Teams and Outlook as Web Apps + Windows 11 in a VM to use PowerPoint. For me the perfect combination.
@herkatron
@herkatron 7 ай бұрын
Thank you so much! I just started using Debian and this was so easy to follow!
@mylinuxforwork
@mylinuxforwork 7 ай бұрын
Great.
@rodneywk1
@rodneywk1 Жыл бұрын
Thank you very much, kind sir!! Worked fantastically for me.
@mylinuxforwork
@mylinuxforwork Жыл бұрын
That’s great.
@conorhackett5698
@conorhackett5698 3 ай бұрын
This is great..! Awesome in fact. One question - does it lazy load the files or download them all? I only want a subset of files from OneDrvie in my linux machine.. and don't want all the other hundreds of GB filling up the drive. Thank you and great work.
@mylinuxforwork
@mylinuxforwork 3 ай бұрын
Thanks. Files will not be downloaded. It’s like a network drive.
@tfk5853
@tfk5853 11 ай бұрын
Works like a treat, thanks so much :)
@mylinuxforwork
@mylinuxforwork 11 ай бұрын
Great!
@ansanabria_
@ansanabria_ 11 ай бұрын
Incredibly helpful! Thanks a lot :)
@mylinuxforwork
@mylinuxforwork 11 ай бұрын
Thank you.
@doveofdestiny
@doveofdestiny 10 ай бұрын
Very informative and clear tutorial.
@mylinuxforwork
@mylinuxforwork 10 ай бұрын
Thank you.
@xavierayayaell546
@xavierayayaell546 7 ай бұрын
You really smash that enter key rather too hard
@mylinuxforwork
@mylinuxforwork 7 ай бұрын
I know ;-)
@optalgin2371
@optalgin2371 4 ай бұрын
Awesome vid! got me up and running in 5 minutes. Quick question though I can mount and unmount it safely right? also sometimes after say quite some time of lets say editing in obsidian my whole file directory lags have you experienced something similar?
@mylinuxforwork
@mylinuxforwork 4 ай бұрын
Thank you. Should work without problems. It’s like a network drive.
@optalgin2371
@optalgin2371 4 ай бұрын
Yeah finally got it to work, I don’t know what happened earlier but it doesn’t glitch anymore. Thank you man it’s cool you reply even though the video is old. Btw what would you recommend arch or Ubuntu? I’m currently running Ubuntu 24. But I see lots of folks on Arch can’t quite figure is it because of content creators or the system is that good
@mylinuxforwork
@mylinuxforwork 4 ай бұрын
@@optalgin2371 I have started my Linux Journey on Ubuntu and moved several years ago to Arch. I love on Arch the possibility to create my own system configuration without having apps installed that I don’t need. It’s super flexible and with AUR easy to extend.
@optalgin2371
@optalgin2371 4 ай бұрын
@@mylinuxforwork I downloaded it to my main PC, now I'm learning the hard way to install arch on my MacBook lol
@Mikenight120
@Mikenight120 Жыл бұрын
Great video! Worked perfectly
@mylinuxforwork
@mylinuxforwork Жыл бұрын
Thank you. Great that everything worked.
@piggymalone1
@piggymalone1 Ай бұрын
Great, thanks for that.
@mylinuxforwork
@mylinuxforwork Ай бұрын
👍
@piggymalone1
@piggymalone1 Ай бұрын
@@mylinuxforwork Slight problem - the mounted drive isn't persistent, how to achieve this upon re-boot?
@dav1dw
@dav1dw 5 ай бұрын
I'd be great if you could do a video on more advanced features like using crypt and chunker. Also how to encrypt the rclone.conf file and how to use it in scripts while encrypted. Thanks!
@mylinuxforwork
@mylinuxforwork 5 ай бұрын
Thanks for your feedback.
@sb8fabian
@sb8fabian 10 ай бұрын
Thank you very much. It has been a great help to me.
@mylinuxforwork
@mylinuxforwork 10 ай бұрын
👍
@louis6189
@louis6189 Жыл бұрын
Thanks dude, it works well !
@mylinuxforwork
@mylinuxforwork Жыл бұрын
Perfect.
@ccccalvin
@ccccalvin 3 ай бұрын
To clarify, if we were to make changes on OneDrive on another device, we have to use "rclone --vfs-cache-mode writes mount OneDrive: ~/OneDrive &" to pull those changes every time. But if we make changes on our device (which has rclone installed), it will automatically sync those changes to OneDrive. Is that correct?
@ccccalvin
@ccccalvin 3 ай бұрын
On second thought, I don't think this is correct. What does mounting do, and why do I have to do it every time I boot?
@mylinuxforwork
@mylinuxforwork 3 ай бұрын
Thanks for testing. You can create a script for mounting the drives and add it to your autostart.
@josueblascovernedas5844
@josueblascovernedas5844 4 ай бұрын
Hello! Does it use space on you hdd/ssd?
@mylinuxforwork
@mylinuxforwork 4 ай бұрын
No. It’s just a remote access like a network drive.
@steeltormentors
@steeltormentors 4 ай бұрын
@@mylinuxforwork so it does work like Onedrive files On-Demand? I gave only 50GB to my Linux partition...if Rclone downloads my entire Onedrive it won't for sure. But if it works like files On-Demand all is good!
@TheGaenda
@TheGaenda 7 ай бұрын
Awesome!!! Thank you soooo much
@mylinuxforwork
@mylinuxforwork 7 ай бұрын
Thank you.
@rbjohnson
@rbjohnson 10 ай бұрын
Very good video! For my use case, I don't need (or want) access to my entire onedrive, I just want to have one specific folder on my raspberry pi that gets synced to a folder in my onedrive. Does rclone allow this or does it only take the onedrive as a whole?
@mylinuxforwork
@mylinuxforwork 10 ай бұрын
As far as I know you can only connect to the whole OneDrive. But please check the rsync documentation.
@rbjohnson
@rbjohnson 10 ай бұрын
@@mylinuxforwork thanks!
@pa3546
@pa3546 9 ай бұрын
Hi what a great video, one question what is it for sure?
@mylinuxforwork
@mylinuxforwork 9 ай бұрын
Hi. Not sure how I can help you?
@MohsenTheKnight21
@MohsenTheKnight21 3 ай бұрын
that's awesome thanks so much
@mylinuxforwork
@mylinuxforwork 3 ай бұрын
Thanks.
@pietrolopesdev4366
@pietrolopesdev4366 2 ай бұрын
Great tutorial, but I must ask: Is your "enter" key still alive? I was worried for it 😂
@mylinuxforwork
@mylinuxforwork 2 ай бұрын
Still alive 😅
@pietrolopesdev4366
@pietrolopesdev4366 2 ай бұрын
@@mylinuxforwork 🤣
@dromdev
@dromdev 6 ай бұрын
Gracias, si me funcionó
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
👍
@imt39
@imt39 3 ай бұрын
Hey there! Your video still works perfectly after a year! But Idk how to set auto start so OneDrive can be mounted automatically upon startup. Hope you'll respond as soon as possible. Thanks for your video!
@mylinuxforwork
@mylinuxforwork 3 ай бұрын
Thanks. You need to add the script to the autostart of your desktop environment.
@imt39
@imt39 3 ай бұрын
@@mylinuxforwork Problem is where to find the script. I hope you'll send me a link cuz I'm completely dumb in coding. Also, even have the script I may not know how to set auto start. Plz help me.
@mylinuxforwork
@mylinuxforwork 3 ай бұрын
@@imt39 You should find the command in the video and video description. Put it on a text file onedrive.sh and make it executable chmod +x ondedrive.sh Test the script by running ./onedrive.sh Please check the documentation of your desktop environment how to setup autostart of scripts. I hope I could help.
@ajlozadaro
@ajlozadaro Жыл бұрын
Hello! thank for your explanatory video. I was wondering what about OneDrive Free Client that you can encounter for example in the Fedora repositorys? Rclone is better? Thanks.
@mylinuxforwork
@mylinuxforwork Жыл бұрын
Thanks for your comment. Never tested OneDrive free client. From the start i was super happy with rclone.
@ajlozadaro
@ajlozadaro Жыл бұрын
@@mylinuxforwork thanks for your super quick response. OK, I will give it a try. I was seeing a review of several clients and the first of the list was Rclone.
@ajlozadaro
@ajlozadaro Жыл бұрын
​@@mylinuxforwork I just installed and my experience was incredibly SMOOTHLY. Rclone just works! Wow! Thank you for this guide through.
@jola6940
@jola6940 5 ай бұрын
thanks for your video, very interesting. NICE WORK . for onedrive and googledrive , easy , but for google photos , i see the folder with files but files size 0, no possible to make a video on the method rclone with google photos, thanks
@mylinuxforwork
@mylinuxforwork 5 ай бұрын
Thanks for testing. There is currently no video planned. Can you refer to the rclone website? Maybe there is a forum where you can ask your question.
@cumaMyID
@cumaMyID 9 ай бұрын
hello sir, is this methode use Mirror? i mean, it wil store the file on my local drive? or directly 100% need internet connection, since the file will always NOT copied to local drive/folder?
@mylinuxforwork
@mylinuxforwork 9 ай бұрын
Unfortunately you need an internet connection. It’s likeva network drive.
@andreabaraldi6020
@andreabaraldi6020 Жыл бұрын
Hello! New with linux here, I'm having quite fun :) This would be awesome if it could actually automatically mount on system startup. I've done my researches, tried many methods but no one seems to be working (plus, my inexperience doesn't help 😅). Do you have any clues/suggestion? Thanks!
@mylinuxforwork
@mylinuxforwork Жыл бұрын
Thanks for your very good question. Pretty sure that I can help you. What desktop environment are you using?
@andreabaraldi6020
@andreabaraldi6020 Жыл бұрын
I think GNOME (Pop! OS) @@mylinuxforwork
@iliakos1182
@iliakos1182 11 ай бұрын
Hi, thanks for the video! Before I do this, I want to know if there is an option to keep files locally and access them while offline, that would be perfect! Thanks
@mylinuxforwork
@mylinuxforwork 11 ай бұрын
Very good question. But this is not possible. rclone is like a network drive with background sync. When your're disconnected, you cannot access the files.
@liamkhoi
@liamkhoi Жыл бұрын
Great tutorial! But this mounting has to be done manually everytime I start up. Is there actually any way to make it mount on startup?
@mylinuxforwork
@mylinuxforwork Жыл бұрын
Yes. You can put the mount command into a script file and start it in your autostart of your window or desktop manager. gitlab.com/stephan-raabe/dotfiles/-/blob/main/scripts/onedrive.sh?ref_type=heads
@vincenzoserlenga1826
@vincenzoserlenga1826 6 ай бұрын
@@mylinuxforwork Hi, how to let it do automatically at every start?
@user-et4qu6yq8h
@user-et4qu6yq8h 6 ай бұрын
After two days of working it doesn't mount and appears an error that says at the end vfs invalid seek position and doesn't mount OneDrive
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Have you seen this? forum.rclone.org/t/invalid-seek-position/26965/3
@user-et4qu6yq8h
@user-et4qu6yq8h 6 ай бұрын
@@mylinuxforwork yes but I don't know how to delete the cache I can't find the directory (I'm new at Ubuntu)
@cinetici
@cinetici Жыл бұрын
hi buddy! i was able to sync my folder Garbage to OneDrive. I just dont understand how to set it to be running always. Where do I apply this command on the right? please and thanks a lot. I tried onedriveR and it was awful, started downloading everything to my kubuntu
@mylinuxforwork
@mylinuxforwork Жыл бұрын
Hi. You can add a script like this to your Autostart of your desktop environment. gitlab.com/stephan-raabe/dotfiles/-/blob/main/scripts/onedrive.sh?ref_type=heads
@gabrielstringueta3414
@gabrielstringueta3414 4 ай бұрын
Hello!! I'm a new user of Ubuntu (22.04.4 LTS). Would you be able to help on how to create this bash file and make it run at the startup of my machine??
@mylinuxforwork
@mylinuxforwork 4 ай бұрын
The bash file should work also on Ubuntu. You can setup the start of the script in the Ubuntu Settings / Autostart section.
@joshuaschmidt3261
@joshuaschmidt3261 Жыл бұрын
How would I go about syncing this onedrive? When I edit something on my linux machine and save it in that folder, how do I upload it to onedrive?
@mylinuxforwork
@mylinuxforwork Жыл бұрын
The upload happens in the background. You don’t need to trigger it. But it could take a while before it shows up on onedrive. Especially for large files.
@joshuaschmidt3261
@joshuaschmidt3261 Жыл бұрын
@@mylinuxforwork Gotcha. I just tested it and everything works. Thanks a lot!
@mylinuxforwork
@mylinuxforwork Жыл бұрын
@@joshuaschmidt3261 Great!
@unowly
@unowly Жыл бұрын
Hi ne kurze Frage, wie lass ich denn das Shell Skript permanent laufen. Ich bin noch nicht so lang auf Arch unterwegs, daher habe ich keine Ahnung und finde leider auch nichts im Internet. Danke dir schonmal im Vorraus!
@mylinuxforwork
@mylinuxforwork Жыл бұрын
Hi. Welchen Window Manager oder Desktop nutzt Du?
@mylinuxforwork
@mylinuxforwork Жыл бұрын
Du must das Shell Skript in den Autostart deines Window oder Desktop Mangager einbinden, damit es nach dem Login startet.
@unowly
@unowly Жыл бұрын
@@mylinuxforwork Ah super vielen Dank.
@jhencluff
@jhencluff Жыл бұрын
My rclone does not have an option for business. The url open for the personal account. Did I miss something?
@mylinuxforwork
@mylinuxforwork Жыл бұрын
Thanks for your question. According to the rclone documentation, it‘s names OneDrive Personal and Business. rclone.org/onedrive/ Can you see this option during the configuration process?
@user-ui2du6sl8p
@user-ui2du6sl8p 3 ай бұрын
Is that possible to see the saved file using rclone in Android Onedrive app??
@mylinuxforwork
@mylinuxforwork 3 ай бұрын
If the sync to Onedrive is complete you should see the updates on every connected client.
@sebastianivanbenitez
@sebastianivanbenitez 6 ай бұрын
Hello! Hi, from Argentina, before anything, thanks so much, but ......How to make it mounted permanently ? I have Ubuntu 22.04.4 LTS. I am a noob
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Please add the script to your autostart. In DE normally in the settings. In window managers normally in autostart files.
@sebastianivanbenitez
@sebastianivanbenitez 6 ай бұрын
@@mylinuxforworkI do it in GNOME 42.9, in start app but it dosen´t work. I have to put this command? rclone --vfs-cache-mode writes mount OneDrive: ~/OneDrive &
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
@@sebastianivanbenitezMaybe this article helps: forum.manjaro.org/t/how-to-autostart-script-on-gnome-40-wayland-session-launch/81092/2
@HaRa-o9n
@HaRa-o9n 11 ай бұрын
I'm new to ubuntu and when I tried to mount my OneDrive to Ubuntu, I'm getting this error Fatal error: failed to mount FUSE fs: cannot get mounts: open /proc/self/mountinfo: permission denied I installed fuse and fuse3 using sudo apt install fuse3 but fuse3 --version doesn't work. Can you please suggest a way to fix this? Thanks!
@mylinuxforwork
@mylinuxforwork 11 ай бұрын
Hi. Thanks for watching the video. But I’m not using Ubuntu and that’s why it’s difficult to help. Have you seen this page? snapshooter.com/learn/linux/install-and-use-rclone
@hungowapower
@hungowapower 9 ай бұрын
Same here
@siddharthg8798
@siddharthg8798 9 ай бұрын
Please try a previous version of reclone. It resolved the problem.
@sirdomasu8226
@sirdomasu8226 Жыл бұрын
Hey, I get an error that says: Fatal error: failed to mount FUSE fs: fusermount: exec: "fusermount3": executable file not found in $PATH :(
@mylinuxforwork
@mylinuxforwork Жыл бұрын
Hi. When do you get the error? During the installation? Are you on Arch Linux? Please check the official rclone github. github.com/rclone/rclone/issues/6844
@siddharthg8798
@siddharthg8798 9 ай бұрын
Please try the former versions. It fixed.
@RolanMartSasongko
@RolanMartSasongko 6 ай бұрын
no code returned by remote server how to solve it?
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Not sure what you mean.
@javip8731
@javip8731 3 ай бұрын
Work it in Fedora 40 (KDE)
@mylinuxforwork
@mylinuxforwork 3 ай бұрын
Should work as well.
@Jdrxxlordxx583
@Jdrxxlordxx583 8 ай бұрын
How to make it mounted permanently
@mylinuxforwork
@mylinuxforwork 8 ай бұрын
You can create a script and add it to the autostart.
@Jdrxxlordxx583
@Jdrxxlordxx583 8 ай бұрын
Thank you so much but how to do that@@mylinuxforwork
@mylinuxforwork
@mylinuxforwork 8 ай бұрын
@@Jdrxxlordxx583 which desktop environment are you using?
@Jdrxxlordxx583
@Jdrxxlordxx583 8 ай бұрын
Ubuntu os with Gnome desktop environment@@mylinuxforwork
@mylinuxforwork
@mylinuxforwork Жыл бұрын
You can find all commands to install rclone and to connect your Linux system with OneDrive in the video description. If you like this video, please subscribe to my channel: 👉 www.youtube.com/@mylinuxforwork/?sub_confirmation=1
Replace Google Drive, OneDrive or iCloud with these better alternatives!
15:30
The Linux Experiment
Рет қаралды 270 М.
Modus males sekolah
00:14
fitrop
Рет қаралды 25 МЛН
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 62 МЛН
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 42 МЛН
Sync Google DRIVE in Linux Using Rclone
21:07
STÆMPUNK TV
Рет қаралды 39 М.
OneDrive on Ubuntu? What?
15:44
credibleDEV
Рет қаралды 10 М.
OPEN SOURCE alternatives to the MOST POPULAR productivity apps!
15:37
The Linux Experiment
Рет қаралды 1,2 МЛН
Using Rclone sync from the command line in GNU/Linux
4:54
abhiraaid
Рет қаралды 1 М.
STOP using Cloud Storage! Do this instead:
8:44
Liron Segev
Рет қаралды 911 М.
The Linux Tier List
27:34
Chris Titus Tech
Рет қаралды 1,1 МЛН
10 ways Linux is just better!
11:32
Linus Tech Tips
Рет қаралды 4 МЛН
A Beginner's Guide To Rclone
38:27
DeAndre Queary
Рет қаралды 32 М.
Is Linux Mint BETTER Than Windows?
6:27
Techquickie
Рет қаралды 2,1 МЛН
Modus males sekolah
00:14
fitrop
Рет қаралды 25 МЛН