Use Microsoft ONEDRIVE in LINUX: EASY with rclone

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ค. 2023
  • 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/mylinuxforwork/dot...
    👉 ML4W Dotfiles Wiki: github.com/mylinuxforwork/dot...
    👉 ML4W Hyprland Starter: github.com/mylinuxforwork/hyp...
    👉 ML4W Hyprland Starter Wiki: github.com/mylinuxforwork/hyp...
    👉 ML4W Hyprland Settings App: github.com/mylinuxforwork/hyp...
    👉 Homepage: www.ml4w.com
    👉 Discord: / discord
    👉 ChatGPT Python Script: github.com/mylinuxforwork/cha...
    #linux #onedrive #office365 #microsoft #archlinux

ความคิดเห็น • 126

  • @Beny10
    @Beny10 10 หลายเดือนก่อน +4

    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  10 หลายเดือนก่อน +2

      Thank you so much for your feedback. Have fun with rclone.

  • @TheSorrowOfTheReaper
    @TheSorrowOfTheReaper 4 หลายเดือนก่อน +3

    It finally worked! I have been trying forever to get OneDrive to sync with Ubuntu, and thanks to your video I made it! Thanks!

  • @joebenni2
    @joebenni2 5 หลายเดือนก่อน +1

    Thank you for your video. This worked and it was easy to follow your instructions. I appreciate you and your video!

  • @steeltormentors
    @steeltormentors 2 หลายเดือนก่อน +2

    damn you're slammin that enter key pretty hard man!
    great tutorial...very easy to follow and got mine setup nicely!
    thanks!

    • @mylinuxforwork
      @mylinuxforwork  2 หลายเดือนก่อน

      I know. Sorry… 😀

    • @optalgin2371
      @optalgin2371 2 หลายเดือนก่อน

      My thoughts exactly lmao but bro delivered! You rock Just got running on Ubu 24.

  • @lucianoramirez6111
    @lucianoramirez6111 6 หลายเดือนก่อน +3

    Thanks man. I am noob starting to slowly learn about linux. I use one drive and this is godsend.

  • @ansanabria_
    @ansanabria_ 9 หลายเดือนก่อน

    Incredibly helpful! Thanks a lot :)

  • @rodneywk1
    @rodneywk1 11 หลายเดือนก่อน +1

    Thank you very much, kind sir!! Worked fantastically for me.

  • @herkatron
    @herkatron 5 หลายเดือนก่อน

    Thank you so much! I just started using Debian and this was so easy to follow!

  • @tfk5853
    @tfk5853 9 หลายเดือนก่อน

    Works like a treat, thanks so much :)

  • @Mikenight120
    @Mikenight120 ปีที่แล้ว

    Great video! Worked perfectly

    • @mylinuxforwork
      @mylinuxforwork  ปีที่แล้ว

      Thank you. Great that everything worked.

  • @streetpigeongames3596
    @streetpigeongames3596 8 หลายเดือนก่อน

    Very informative and clear tutorial.

  • @sb8fabian
    @sb8fabian 8 หลายเดือนก่อน

    Thank you very much. It has been a great help to me.

  • @louis6189
    @louis6189 10 หลายเดือนก่อน

    Thanks dude, it works well !

  • @ivanbarta2821
    @ivanbarta2821 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน +1

      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.

  • @TheGaenda
    @TheGaenda 5 หลายเดือนก่อน

    Awesome!!! Thank you soooo much

  • @MohsenTheKnight21
    @MohsenTheKnight21 หลายเดือนก่อน

    that's awesome thanks so much

  • @dromdev
    @dromdev 5 หลายเดือนก่อน

    Gracias, si me funcionó

  • @iliakos1182
    @iliakos1182 9 หลายเดือนก่อน

    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  9 หลายเดือนก่อน +1

      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.

  • @rbjohnson
    @rbjohnson 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน

      As far as I know you can only connect to the whole OneDrive. But please check the rsync documentation.

    • @rbjohnson
      @rbjohnson 8 หลายเดือนก่อน

      @@mylinuxforwork thanks!

  • @ajlozadaro
    @ajlozadaro 10 หลายเดือนก่อน

    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  10 หลายเดือนก่อน

      Thanks for your comment. Never tested OneDrive free client. From the start i was super happy with rclone.

    • @ajlozadaro
      @ajlozadaro 10 หลายเดือนก่อน

      @@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 10 หลายเดือนก่อน

      ​@@mylinuxforwork I just installed and my experience was incredibly SMOOTHLY. Rclone just works! Wow! Thank you for this guide through.

  • @conorhackett5698
    @conorhackett5698 หลายเดือนก่อน

    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  หลายเดือนก่อน +1

      Thanks. Files will not be downloaded. It’s like a network drive.

  • @pa3546
    @pa3546 7 หลายเดือนก่อน

    Hi what a great video, one question what is it for sure?

    • @mylinuxforwork
      @mylinuxforwork  7 หลายเดือนก่อน

      Hi. Not sure how I can help you?

  • @cumaMyID
    @cumaMyID 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      Unfortunately you need an internet connection. It’s likeva network drive.

  • @liamkhoi
    @liamkhoi 10 หลายเดือนก่อน

    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  10 หลายเดือนก่อน +1

      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 4 หลายเดือนก่อน

      @@mylinuxforwork Hi, how to let it do automatically at every start?

  • @optalgin2371
    @optalgin2371 2 หลายเดือนก่อน

    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  2 หลายเดือนก่อน +1

      Thank you. Should work without problems. It’s like a network drive.

    • @optalgin2371
      @optalgin2371 2 หลายเดือนก่อน

      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  2 หลายเดือนก่อน

      @@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 2 หลายเดือนก่อน

      @@mylinuxforwork I downloaded it to my main PC, now I'm learning the hard way to install arch on my MacBook lol

  • @cinetici
    @cinetici 10 หลายเดือนก่อน

    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  10 หลายเดือนก่อน

      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

  • @jola6940
    @jola6940 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      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.

  • @dav1dw
    @dav1dw 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

      Thanks for your feedback.

  • @andreabaraldi6020
    @andreabaraldi6020 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน

      Thanks for your very good question. Pretty sure that I can help you. What desktop environment are you using?

    • @andreabaraldi6020
      @andreabaraldi6020 11 หลายเดือนก่อน

      I think GNOME (Pop! OS)
      @@mylinuxforwork

  • @ccccalvin
    @ccccalvin หลายเดือนก่อน

    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 หลายเดือนก่อน

      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  หลายเดือนก่อน

      Thanks for testing. You can create a script for mounting the drives and add it to your autostart.

  • @joshuaschmidt3261
    @joshuaschmidt3261 10 หลายเดือนก่อน

    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  10 หลายเดือนก่อน +1

      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 10 หลายเดือนก่อน

      @@mylinuxforwork Gotcha. I just tested it and everything works. Thanks a lot!

    • @mylinuxforwork
      @mylinuxforwork  10 หลายเดือนก่อน

      @@joshuaschmidt3261 Great!

  • @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 2 หลายเดือนก่อน

    Is that possible to see the saved file using rclone in Android Onedrive app??

    • @mylinuxforwork
      @mylinuxforwork  2 หลายเดือนก่อน

      If the sync to Onedrive is complete you should see the updates on every connected client.

  • @josueblascovernedas5844
    @josueblascovernedas5844 3 หลายเดือนก่อน +2

    Hello! Does it use space on you hdd/ssd?

    • @mylinuxforwork
      @mylinuxforwork  3 หลายเดือนก่อน +1

      No. It’s just a remote access like a network drive.

    • @steeltormentors
      @steeltormentors 2 หลายเดือนก่อน

      @@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!

  • @RBN-dev
    @RBN-dev ปีที่แล้ว

    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.

    • @RBN-dev
      @RBN-dev ปีที่แล้ว

      @@mylinuxforwork Ah super vielen Dank.

  • @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 7 หลายเดือนก่อน

      Please try the former versions.
      It fixed.

  • @gabrielstringueta3414
    @gabrielstringueta3414 2 หลายเดือนก่อน

    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  2 หลายเดือนก่อน

      The bash file should work also on Ubuntu. You can setup the start of the script in the Ubuntu Settings / Autostart section.

  • @imt39
    @imt39 2 หลายเดือนก่อน

    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  2 หลายเดือนก่อน

      Thanks. You need to add the script to the autostart of your desktop environment.

    • @imt39
      @imt39 2 หลายเดือนก่อน

      @@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  2 หลายเดือนก่อน

      @@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.

  • @user-cu4bk6xr1d
    @user-cu4bk6xr1d 9 หลายเดือนก่อน

    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  9 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

      Same here

    • @siddharthg8798
      @siddharthg8798 7 หลายเดือนก่อน

      Please try a previous version of reclone. It resolved the problem.

  • @user-zm1gu6bj4k
    @user-zm1gu6bj4k 4 หลายเดือนก่อน

    no code returned by remote server
    how to solve it?

    • @mylinuxforwork
      @mylinuxforwork  4 หลายเดือนก่อน

      Not sure what you mean.

  • @user-et4qu6yq8h
    @user-et4qu6yq8h 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      Have you seen this? forum.rclone.org/t/invalid-seek-position/26965/3

    • @user-et4qu6yq8h
      @user-et4qu6yq8h 4 หลายเดือนก่อน

      @@mylinuxforwork yes but I don't know how to delete the cache I can't find the directory (I'm new at Ubuntu)

  • @xavierayayaell546
    @xavierayayaell546 5 หลายเดือนก่อน +3

    You really smash that enter key rather too hard

  • @sebastianivanbenitez
    @sebastianivanbenitez 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      Please add the script to your autostart. In DE normally in the settings. In window managers normally in autostart files.

    • @sebastianivanbenitez
      @sebastianivanbenitez 4 หลายเดือนก่อน

      @@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  4 หลายเดือนก่อน

      @@sebastianivanbenitezMaybe this article helps: forum.manjaro.org/t/how-to-autostart-script-on-gnome-40-wayland-session-launch/81092/2

  • @pietrolopesdev4366
    @pietrolopesdev4366 20 วันที่ผ่านมา

    Great tutorial, but I must ask: Is your "enter" key still alive? I was worried for it 😂

  • @javip8731
    @javip8731 หลายเดือนก่อน

    Work it in Fedora 40 (KDE)

    • @mylinuxforwork
      @mylinuxforwork  หลายเดือนก่อน +1

      Should work as well.

  • @Jdrxxlordxx583
    @Jdrxxlordxx583 6 หลายเดือนก่อน

    How to make it mounted permanently

    • @mylinuxforwork
      @mylinuxforwork  6 หลายเดือนก่อน

      You can create a script and add it to the autostart.

    • @Jdrxxlordxx583
      @Jdrxxlordxx583 6 หลายเดือนก่อน

      Thank you so much but how to do that@@mylinuxforwork

    • @mylinuxforwork
      @mylinuxforwork  6 หลายเดือนก่อน

      @@Jdrxxlordxx583 which desktop environment are you using?

    • @Jdrxxlordxx583
      @Jdrxxlordxx583 6 หลายเดือนก่อน

      Ubuntu os with Gnome desktop environment@@mylinuxforwork

  • @-blackcat-4749
    @-blackcat-4749 6 หลายเดือนก่อน

    This is a settled exposition. 📎 A predictable event

    • @mylinuxforwork
      @mylinuxforwork  6 หลายเดือนก่อน

      Never tried it before. Maybe this helps? rclone.org/commands/rclone_serve_webdav/#auth-proxy

    • @-blackcat-4749
      @-blackcat-4749 6 หลายเดือนก่อน

      Every boring return. An 📘 ordinary happening

    • @mylinuxforwork
      @mylinuxforwork  6 หลายเดือนก่อน

      @@-blackcat-4749 that is great.

  • @mylinuxforwork
    @mylinuxforwork  ปีที่แล้ว +2

    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