How to Mount a Google Drive Locally with Rclone

Not a subscriber? Start your free week: cbt.gg/2I5NxY1
Read the full blog post at CBT Nuggets: cbt.gg/30hRFh5
Google Drive is nice, but no one wants to use their web interface as bulk storage. Thankfully, Rclone makes direct access to Google Drive seamless. It's free, open source, and multi-platform.
In this video, CBT Nuggets trainer Shawn Powers shows you how to quickly set up Rclone and mount it on the local filesystem to use Google Drive locally.
#Rclone #tutorial #GoogleDrive

Пікірлер: 106

  • @EdwardCrosby
    @EdwardCrosby2 жыл бұрын

    Hey, Shawn. Thanks so much for this video. Incredibly helpful. And thanks for the continued content you post on KZread.

  • @helmutwalle2105
    @helmutwalle21052 жыл бұрын

    Many thanks for the quick tutorial; I love your enthusiastic and concise style.

  • @bradydyson65

    @bradydyson65

    Жыл бұрын

    I second this!

  • @McDaniel1
    @McDaniel12 жыл бұрын

    Thank you so much u have no idea how long I've looking for this

  • @bradydyson65
    @bradydyson65 Жыл бұрын

    Oh my god, thank you! Short, sweet and to the point.

  • @lithox5100
    @lithox51002 жыл бұрын

    Thank you, this is exactly what I was looking for, I can now sync up files between desktop and laptop. On another note, let's say I have an .odt file, my workaround for the read-only nature of the folder is to copy the file into a local folder, make changes and then replace the old file in the mounted folder with the new one: is this the only way or can I make it so I can open the .odt file straight from the mounted folder and make changes that sync up immediately?

  • @tyser9544
    @tyser95448 күн бұрын

    Thank you so much for this video man, you saved a Linux newbie today

  • @GALAXYXD
    @GALAXYXD3 жыл бұрын

    thank you so much, it helped me a lot!

  • @OrkUrgush
    @OrkUrgush Жыл бұрын

    Thank you Shawn, very helpfull video, it worked like a charm.

  • @phillipcifone8974
    @phillipcifone8974 Жыл бұрын

    Thank you, this is really cool and helpful. One thing to note, with mounting a google drive remote, gdocs dont seems to work correctly, according to the website it's a known issue. Sync/move/copy works fine. And with images (I'm a photographer) it's still super helpful. I wish I learned rclone sooner. Thanks for the super easy guide!

  • @IlyaHoltz
    @IlyaHoltz3 жыл бұрын

    Thanks!!! This is perfect!

  • @kansen-sei8353
    @kansen-sei83533 жыл бұрын

    I noticed you're using Daemon would you recommend using that as a storage server? I understand you use it to mount Images such as HDD and games, as I use to play around with Daemon Tool for mounting game images when I was younger, Since then I had forgotten about using it.

  • @shawnp0wers

    @shawnp0wers

    3 жыл бұрын

    I totally remember using Daemon Tools too! (Specifically to play Starcraft...) But no, this is just a coincidence. “Daemon” is a generic term for server processes, and the command just reloads systemd’s configuration files. Now I wanna play Starcraft! :D

  • @MrDeviousdom
    @MrDeviousdom2 жыл бұрын

    Do you have any experience with creating encrypted remotes to perform local encrypted backups? I've tried everything and I can't get the thing to work.

  • @fasi74
    @fasi74 Жыл бұрын

    i am constantly on the road, with sometimes not internet connection available to me, is it possible for this to download the files in local cache when i dont have internet, so i can work on them and later when i get connectivity update the files on the cloud drive?

  • @daleseward
    @daleseward2 жыл бұрын

    After restarting my computer I don't see anything listed in the gdrive. Is there a sync or autosync that I should do?

  • @NaimHasim
    @NaimHasim3 жыл бұрын

    Hey sir, love your charismatic voices XD

  • @craigmilne5453
    @craigmilne54533 жыл бұрын

    Tried to do the same in video, done everything but google drive doesn't show when df-h google drive doesnt show online my own hardrives

  • @VindorableTV
    @VindorableTV3 жыл бұрын

    How to create a Google Drive mount on Synology itself in File Station?

  • @madhavmurali2002
    @madhavmurali20023 жыл бұрын

    What is the filesystem that it mounts?

  • @sigitasn
    @sigitasn Жыл бұрын

    Wow thats very handy tutorials. I got ignored rclone all times instead trying not very good solutions like proprietary software etc. Thank you.

  • @scottwilson8210
    @scottwilson82102 жыл бұрын

    SO you had to install macFUSE correct? I have tones of issues with he mout command because it gets macFUSE errors I am running macOS 12.

  • @salva2210
    @salva22102 жыл бұрын

    great content!

  • @mikesantos2263
    @mikesantos22632 жыл бұрын

    Hi, very helpful vid. Just want to know what is "daemon" for? thanks!

  • @1eskip

    @1eskip

    Жыл бұрын

    run on the background

  • @user-rf4vc7mt4d
    @user-rf4vc7mt4d Жыл бұрын

    Does it sync real-time?

  • @cmaxz817
    @cmaxz8172 жыл бұрын

    Hey sorry if this question sounds a bit silly. Is it really just syncing (similar to shortcut) with the gdrive or is it downloading all those files and put it in your local machine?

  • @cbtnuggets

    @cbtnuggets

    2 жыл бұрын

    Thank you for your question! The files will be synced to the mount or the system, but they are merely cached and when needed, it will re-download the file to the location on the system. We hope this is helpful. Thank you for learning with us!

  • @cmaxz817

    @cmaxz817

    2 жыл бұрын

    @@cbtnuggets does it have something like "auto delete cache every ....." system or do I have to do it manually? If so how can I?

  • @cbtnuggets

    @cbtnuggets

    2 жыл бұрын

    @@cmaxz817There might be a mix between time and memory allocated. The system will hold the files within the system for the give duration, or until the cache has been depleted, then it will purge the oldest content. The cache can be increased within the config files. Typically, when you have the sync setup it will pull down the relevant information to the system for access, but the file itself may still be stored in the cloud as needed.

  • @konhuafuu
    @konhuafuu Жыл бұрын

    Thanks a lot. ขอบคุณด้วยใจจริงครับ

  • @sonicthedgehog9473
    @sonicthedgehog94733 жыл бұрын

    Does Rclone have the same function as google drive file stream ?, I mean you can view you files directly through file explorer without downloading it first ?.

  • @kl3mta3

    @kl3mta3

    3 жыл бұрын

    yes, you can also copy and paste to and from the mount and it'll paste to the drive, same with renaming a file, it renames the file on the google drive.

  • @congluanbui
    @congluanbui2 жыл бұрын

    crclone mount --daemon gdrive:.... I have "Fatal error: mount not ready". pls help me fix

  • @sapsan676
    @sapsan6762 жыл бұрын

    Hi, thank you for the video. I am looking for like how can I transfer my .txt file saved in raspberry pi desktop (acceleration data saved every minutes) to Google drive every minute so that all data are transferred to Google drive automatically.

  • @kcarmical

    @kcarmical

    Жыл бұрын

    I think I’d write a small script that, while running, is a loop of “copy the file, sleep 60 secs, copy the file, etc.”

  • @coralof
    @coralof8 ай бұрын

    Thank you so much for this. I'm going to set this up later. Using the Gnome Accounts files integration is SO SLOW.

  • @GiuseppeCorigliano
    @GiuseppeCorigliano3 жыл бұрын

    How can I mount the drive automatically at every startup of my Raspberry?

  • @DeyvsonMoutinhoCaliman

    @DeyvsonMoutinhoCaliman

    3 жыл бұрын

    Exactly what I wanted to know.

  • @KeshovSharma

    @KeshovSharma

    3 жыл бұрын

    Untested suggestion: create a cronjob with @reboot to run the rclone line that mounts what you need. At the Pi's reboot, it should run that rclone command and mount your drive like you did so from the command line yourself.

  • @kl3mta3

    @kl3mta3

    3 жыл бұрын

    i saw it was answered but i just thought id leave this here incase its needed by someone. for anyone curious about automatically running it on windows use a program called NSSM to create a windows service. it'll start when the pc boots up

  • @cagivasupercity
    @cagivasupercity Жыл бұрын

    I cant register rclone within Google drive, it seems not possible since end of May 23

  • @TFD500Official
    @TFD500Official Жыл бұрын

    wait, does this mean that i don't need to buy storage from GDrive anymore?

  • @famdebruin687
    @famdebruin6873 жыл бұрын

    Hi, thanks for sharing this. But what about when i want to acces the files from my Plex server running in Docker ? I cannot see the Gdrive files.

  • @demonnet

    @demonnet

    3 жыл бұрын

    I don't run my Plex instance via Docker, but I'm sure there must be a way to locally mount the volume from within the container and use that as your Plex media source?

  • @isaaclee-mort

    @isaaclee-mort

    3 жыл бұрын

    Either in your docker compose file for the bit: volumes: - /path/to/library:/config - /path/to/tvseries:/tv - /path/to/movies:/movies You'd just do: /gdrive/tv:tv /gdrive/movies:/movies etc. Or if using cli to start the instance, it would be -v /gdrive/tv:tv -v /gdrive/movies:movies etc.

  • @kl3mta3

    @kl3mta3

    3 жыл бұрын

    I run an Rclone mount on one PC, thats whole job is to run programs to download and add files to the drive. i have a separate server that mounts the same drive and hosts it through plex. depending on how its set up, the mount will only see the files uploaded to the drive via Rclone. all the files added by hand on google.com are more or less not there to the mount.

  • @ryxwaer
    @ryxwaer3 жыл бұрын

    You could cover some settings as for example --network-mode or cache. Example zou provided just won't work well.

  • @kl3mta3

    @kl3mta3

    3 жыл бұрын

    Be careful with network-mode also its not really needed, just mount the drive on any system you want to have access. i currently have 3 pcs all connected to the same Gdrive, but all with separate mounts. its much less buggy than network-mode. also cache is outdated, but i still use it currently. if you have questions id be happy to answer them

  • @kl3mta3

    @kl3mta3

    3 жыл бұрын

    well copy the config files over then mount

  • @stephenbarraclough5242
    @stephenbarraclough52428 ай бұрын

    how do you get this to auto mount at boot ?

  • @ittaster
    @ittaster3 жыл бұрын

    Good job Shawn!

  • @shawnp0wers

    @shawnp0wers

    3 жыл бұрын

    Thanks! :D

  • @ajaykumarnandakumaran2394
    @ajaykumarnandakumaran23942 жыл бұрын

    The token expires in an hour what do you do in that case?

  • @megastreaminglive
    @megastreaminglive Жыл бұрын

    can you help me, when I mount the cloud I get this error 02023/05/26 01:50:49 mount helper error: fusermount3: if you are se, use the 'nonempty' mount option 2023/05/26 01:50:49 Fatal error: failed to mount FUSE fs: fusermos 1

  • @kl3mta3
    @kl3mta33 жыл бұрын

    you said have 40Tb of data, and up to 10 users, im assuming you host a media server such as plex. Ive been using Rclone for a very long time for just that. However, i noticed you didnt use a cache, you straight mounted the remote. Have you ran into any API bans from Google when running library searches?

  • @cbtnuggets

    @cbtnuggets

    3 жыл бұрын

    Hi Kenneth, Google has since changed its policies, so some of these benefits with Rclone and G Suite (now Google Workspace) are not as enticing as described. Please refer to Google's pricing and terms for more information. Thank you for learning with us!

  • @kl3mta3

    @kl3mta3

    3 жыл бұрын

    @@cbtnuggets ive had a google business account for years now and currently have well over 100tb google drive hosted with Rclone. im very familiar with that. You just deflected away from my question. My question was had you ran into any api bans not using a cache rather than a straight mount. I get the opinion you don't really know what I'm even talking about. or what the benefits of a cache are. Clearly, you haven't hit any API bans because you don't seem to know what they are. Which is fine. But just say that. Or have me explain it.

  • @franciscooteiza

    @franciscooteiza

    2 жыл бұрын

    @@kl3mta3 Because @CBT Nuggets is a LIAR!

  • @ArsystoreAutoled
    @ArsystoreAutoled2 жыл бұрын

    hi,, how to enable 2 ways sync with rclone? i read its only rclone sync $source to $destination, that correct?

  • @cbtnuggets

    @cbtnuggets

    2 жыл бұрын

    rclone sync -i SOURCE remote:DESTINATION More info here: rclone.org/commands/rclone_sync/

  • @bradydyson65

    @bradydyson65

    Жыл бұрын

    There's also a separate tool called Rsync that you might want to check out.

  • @br_nidas
    @br_nidas Жыл бұрын

    thank a lot :D

  • @vlogsbaleneors9249
    @vlogsbaleneors9249 Жыл бұрын

    Unlimited storage is fine but the road block is Google restricts to 750 GB per day limit for uploading , so how can we bypass this?

  • @ylx6387
    @ylx6387 Жыл бұрын

    It's too difficult... I couldn't self-terminate when rclone mount on my terminal, so I had to forcibly terminate it. As a result, the Gdrive I just mounted disappeared. When I went to mount it again, the error was as follows: 2022/10/01 15:06:12 Fatal error: Can not open: /mnt/hgfs/GoogleDrive/Kali/: open /mnt/hgfs/GoogleDrive/Kali/: transport endpoint is not connected

  • @ylx6387

    @ylx6387

    Жыл бұрын

    I am a user from mainland China, I don't know if my explanation is clear, because my English is not very good...tank for your answers very much !!

  • @Nerkzor
    @Nerkzor3 жыл бұрын

    I'm a newish linux user, and for the life of me cannot figure out how to run the daemon command on startup... I'm using the latest Manjaro Gnome. It was easy in Ubuntu via settings and startup applications, but that's not in Manjaro :/ Help!

  • @Peter-tq5oc

    @Peter-tq5oc

    3 жыл бұрын

    I did it with systemd. Create for example a gdrive.service in /etc/systemd/system This .service file includes the following: [Unit] Description=googledrivemount AssertPathIsDirectory=/home/[User]/GoogleDrive/ After=network-online.target [Service] Type=simple User=[User] Group=[User] ExecStart=/usr/bin/rclone --vfs-cache-mode writes mount googledrive: /home/[User]/GoogleDrive/ --config /home/[User]/.config/rclone/rclone.conf ExecStop=/bin/fusermount -u /home/[User]/GoogleDrive/ Restart=always RestartSec=10 [Install] WantedBy=default.target Replace the [User] with your username Run in Terminal: systemctl enable gdrive.service

  • @franciscooteiza

    @franciscooteiza

    2 жыл бұрын

    @@Peter-tq5ocTotally wrong!

  • @dataislife5742

    @dataislife5742

    2 жыл бұрын

    @@franciscooteiza How is your response helpful? Why is it wrong and what do you think is the correct way?

  • @smudgepost
    @smudgepost3 жыл бұрын

    A handy tip but a better option is to auto mount on boot through fstab

  • @vedavyas8496
    @vedavyas84963 жыл бұрын

    Failed to create file system for "gdrive:": couldn't find root directory ID: googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded getting this error Pls help

  • @kl3mta3

    @kl3mta3

    3 жыл бұрын

    you're maxing out the API calls to the google server

  • @amogussussusamogus
    @amogussussusamogus2 жыл бұрын

    thanks

  • @turker03
    @turker037 ай бұрын

    rclone daomon doesnt work for me, ı dont know why?

  • @mrh2849
    @mrh28492 жыл бұрын

    how about centos 7 server minimal withut browser

  • @shahggreat
    @shahggreat2 жыл бұрын

    how to unmount the drive?

  • @woundedeye
    @woundedeye2 жыл бұрын

    You did not show it locallly in Nautilus.

  • @tangocdung
    @tangocdung2 жыл бұрын

    Done. BUT after rebooting, the drive is not mounted

  • @bradydyson65

    @bradydyson65

    Жыл бұрын

    Same here.

  • @bradydyson65

    @bradydyson65

    Жыл бұрын

    I just wrote the mount command in at the end of my .bashrc and that's working for me.

  • @koset
    @koset3 ай бұрын

    Hey, good tutorial! But could you not jiggle the mouse, please?

  • @wardrich
    @wardrich Жыл бұрын

    Whoa! How do you get that much space on your Google Drive? :O Google wants me to pay like $14CAD/mo for 5TB of storage

  • @Our1stPlanet
    @Our1stPlanet3 жыл бұрын

    Hello. Please to me, how do you Uninstall RClone on Windows ?

  • @franciscooteiza

    @franciscooteiza

    2 жыл бұрын

    NO!

  • @GiorgiAptsiauriX
    @GiorgiAptsiauriX3 жыл бұрын

    rclone is broken. mounting does not work. empty folder locally....

  • @IamShGulati

    @IamShGulati

    3 жыл бұрын

    Which OS did you try on? I tried on macOS 11.1 and mount does not seem to work here either.

  • @GiorgiAptsiauriX

    @GiorgiAptsiauriX

    3 жыл бұрын

    @@IamShGulati I used WSL on Windows. Everything worked except mount. Can't stand buggy software.

  • @alphapoetsclub2180

    @alphapoetsclub2180

    3 жыл бұрын

    @@GiorgiAptsiauriX mate try this method, works like charm in windows 10 kzread.info/dash/bejne/l4eBu9WTeMqddaw.html&ab_channel=DropCorp

  • @franciscooteiza

    @franciscooteiza

    2 жыл бұрын

    unlimited storage is now gone in Google drive

  • @bastelbudi
    @bastelbudi Жыл бұрын

    Whats about sync a folder instead of mounting?

  • @buildamaze
    @buildamaze2 жыл бұрын

    You sound just like dream lmaoooooo XD

  • @neohubris
    @neohubris3 жыл бұрын

    unlimited storage is now gone in Google drive

  • @xer2964

    @xer2964

    2 жыл бұрын

    how many now?

  • @craigmilne5453
    @craigmilne54533 жыл бұрын

    Anyone no how to bypass google drive daily limits

  • @peterspalinger8759
    @peterspalinger87592 жыл бұрын

    The contribution is good, but why does everyone always speak so quickly, not all of them have English as their mother tongue

  • @HowDidIGet3700Subs
    @HowDidIGet3700Subs3 жыл бұрын

    What you’re doing is abusing the system in a way it wasn’t intended & while it seems great it’s use cases like yours that will result in services like google drive changing their pricing structure again.

  • @HowDidIGet3700Subs

    @HowDidIGet3700Subs

    3 жыл бұрын

    Ps it’s no longer $12 a month it’s $50 now because of use cases like this… you can do it with backblaze for $6 a month but I doubt that’ll last long either.

  • @franciscooteiza
    @franciscooteiza2 жыл бұрын

    Please, don't lie!

  • @TheStevenWhiting
    @TheStevenWhiting Жыл бұрын

    No longer unlimited.

  • @seeTipsWow
    @seeTipsWow3 жыл бұрын

    The title is misleading. Please include "Ubuntu" in the title. Shame.

  • @LowLevelLemmy
    @LowLevelLemmy Жыл бұрын

    Did they start charging more for unlimited storage? I'm paying 20 bucks a month for a bizzness workspace accnt for that unlimited storage 🤤🤤🤤🤤

Келесі