Тёмный

How to Mount a Google Drive Locally with Rclone 

CBT Nuggets
Подписаться 325 тыс.
Просмотров 69 тыс.
50% 1

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

Опубликовано:

 

29 сен 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 107   
@EdwardCrosby
@EdwardCrosby 3 года назад
Hey, Shawn. Thanks so much for this video. Incredibly helpful. And thanks for the continued content you post on RU-vid.
@bradydyson65
@bradydyson65 Год назад
Oh my god, thank you! Short, sweet and to the point.
@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!
@helmutwalle2105
@helmutwalle2105 2 года назад
Many thanks for the quick tutorial; I love your enthusiastic and concise style.
@bradydyson65
@bradydyson65 Год назад
I second this!
@McDaniel1
@McDaniel1 2 года назад
Thank you so much u have no idea how long I've looking for this
@OrkUrgush
@OrkUrgush Год назад
Thank you Shawn, very helpfull video, it worked like a charm.
@GALAXYXD
@GALAXYXD 3 года назад
thank you so much, it helped me a lot!
@tyser9544
@tyser9544 22 дня назад
Thank you so much for this video man, you saved a Linux newbie today
@lithox5100
@lithox5100 2 года назад
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?
@IlyaHoltz
@IlyaHoltz 3 года назад
Thanks!!! This is perfect!
@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.
@NaimHasim
@NaimHasim 3 года назад
Hey sir, love your charismatic voices XD
@kansen-sei8353
@kansen-sei8353 3 года назад
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
@salva2210
@salva2210 2 года назад
great content!
@coralof
@coralof 9 месяцев назад
Thank you so much for this. I'm going to set this up later. Using the Gnome Accounts files integration is SO SLOW.
@konhuafuu
@konhuafuu Год назад
Thanks a lot. ขอบคุณด้วยใจจริงครับ
@MrDeviousdom
@MrDeviousdom 2 года назад
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.
@ittaster
@ittaster 3 года назад
Good job Shawn!
@shawnp0wers
@shawnp0wers 3 года назад
Thanks! :D
@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
@daleseward 2 года назад
After restarting my computer I don't see anything listed in the gdrive. Is there a sync or autosync that I should do?
@cmaxz817
@cmaxz817 2 года назад
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.
@scottwilson8210
@scottwilson8210 2 года назад
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.
@br_nidas
@br_nidas Год назад
thank a lot :D
@GiuseppeCorigliano
@GiuseppeCorigliano 3 года назад
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
@craigmilne5453
@craigmilne5453 3 года назад
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
@cagivasupercity
@cagivasupercity Год назад
I cant register rclone within Google drive, it seems not possible since end of May 23
@madhavmurali2002
@madhavmurali2002 3 года назад
What is the filesystem that it mounts?
@VindorableTV
@VindorableTV 3 года назад
How to create a Google Drive mount on Synology itself in File Station?
@mikesantos2263
@mikesantos2263 2 года назад
Hi, very helpful vid. Just want to know what is "daemon" for? thanks!
@1eskip
@1eskip Год назад
run on the background
@congluanbui
@congluanbui 2 года назад
crclone mount --daemon gdrive:.... I have "Fatal error: mount not ready". pls help me fix
@smudgepost
@smudgepost 3 года назад
A handy tip but a better option is to auto mount on boot through fstab
@sonicthedgehog9473
@sonicthedgehog9473 3 года назад
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.
@sapsan676
@sapsan676 2 года назад
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.”
@user-rf4vc7mt4d
@user-rf4vc7mt4d Год назад
Does it sync real-time?
@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
@amogussussusamogus
@amogussussusamogus 2 года назад
thanks
@stephenbarraclough5242
@stephenbarraclough5242 9 месяцев назад
how do you get this to auto mount at boot ?
@ryxwaer
@ryxwaer 3 года назад
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
@kl3mta3
@kl3mta3 3 года назад
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!
@TFD500Official
@TFD500Official Год назад
wait, does this mean that i don't need to buy storage from GDrive anymore?
@ajaykumarnandakumaran2394
@ajaykumarnandakumaran2394 2 года назад
The token expires in an hour what do you do in that case?
@famdebruin687
@famdebruin687 3 года назад
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.
@ArsystoreAutoled
@ArsystoreAutoled 3 года назад
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.
@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 !!
@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?
@turker03
@turker03 7 месяцев назад
rclone daomon doesnt work for me, ı dont know why?
@mrh2849
@mrh2849 2 года назад
how about centos 7 server minimal withut browser
@Nerkzor
@Nerkzor 3 года назад
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?
@vedavyas8496
@vedavyas8496 3 года назад
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
@INTERVENANTNOUAGE
@INTERVENANTNOUAGE 7 дней назад
what we especially need to know this is how the google drive api keys were generated it indicates zero here thank you
@koset
@koset 4 месяца назад
Hey, good tutorial! But could you not jiggle the mouse, please?
@woundedeye
@woundedeye 2 года назад
You did not show it locallly in Nautilus.
@shahggreat
@shahggreat 2 года назад
how to unmount the drive?
@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
@tangocdung
@tangocdung 2 года назад
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.
@Our1stPlanet
@Our1stPlanet 3 года назад
Hello. Please to me, how do you Uninstall RClone on Windows ?
@franciscooteiza
@franciscooteiza 2 года назад
NO!
@buildamaze
@buildamaze 2 года назад
You sound just like dream lmaoooooo XD
@GiorgiAptsiauriX
@GiorgiAptsiauriX 3 года назад
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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-eSMYsZHg7EI.html&ab_channel=DropCorp
@franciscooteiza
@franciscooteiza 2 года назад
unlimited storage is now gone in Google drive
@neohubris
@neohubris 3 года назад
unlimited storage is now gone in Google drive
@xer2964
@xer2964 2 года назад
how many now?
@bastelbudi
@bastelbudi Год назад
Whats about sync a folder instead of mounting?
@peterspalinger8759
@peterspalinger8759 2 года назад
The contribution is good, but why does everyone always speak so quickly, not all of them have English as their mother tongue
@franciscooteiza
@franciscooteiza 2 года назад
Please, don't lie!
@craigmilne5453
@craigmilne5453 3 года назад
Anyone no how to bypass google drive daily limits
@HowDidIGet3700Subs
@HowDidIGet3700Subs 3 года назад
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.
@TheStevenWhiting
@TheStevenWhiting Год назад
No longer unlimited.
@seeTipsWow
@seeTipsWow 3 года назад
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 🤤🤤🤤🤤
Далее
Sync Google DRIVE in Linux Using Rclone
21:07
Просмотров 37 тыс.
NEW footage of Secret Service rushing Trump to car
00:25
МИГРАНТ ВА ПОЛИЦИЯ 😂👍
00:12
Просмотров 199 тыс.
Proxmox Storage | Mount Google Drive to Proxmox
10:46
How Nvidia became the world's most valuable company
9:20
Transfer Files Between Cloud Providers with Rclone
15:28
What is Redis and What Does It Do?
6:47
Просмотров 249 тыс.
How To Use Rclone For Windows
23:17
Просмотров 38 тыс.
OpenSSH for Absolute Beginners
23:00
Просмотров 101 тыс.