Sync Google DRIVE in Linux Using Rclone
HTML-код
- Опубликовано: 21 июл 2024
- In this video, I'll show you how synchronise your Google Drive in your Debian or Ubuntu based Linux file browser using Rclone and the graphical user interface application, Rclone Browser.
This will enable you to have copies of your Google Drive files on your computer and you'll be able to sync your computer with your Google Drive easily.
I’ll be doing this beginner-friendly walkthrough in MX Linux 21 XFCE but you should still be able to easily follow along regardless of the operating system you use.
IMPORTANT!
Removing the Gnome-Control-Center in Ubuntu or Ubuntu-based systems will also uninstall Ubuntu-Settings.
Mount Google DRIVE in Linux Using Gnome Online Accounts: • Mount Google DRIVE in ...
___________________
►► TIMECODES
00:00 Intro
00:36 Uninstall Gnome Control Center ⤵︎
(only if you are not using GNOME as your desktop environment)
03:49 Install Rclone
06:26 Install Rclone Browser
08:46 Run 'rclone config' using the Rclone Browser
12:48 How to delete folders and files using Rclone Browser
13:39 How to mount Google Drive onto computer
15:31 How to sync your Google Drive with computer
12:43 Credits
___________________
►► DOWNLOADS
⟡ Rclone ☞ rclone.org/downloads/
⟡ Rclone Browser ☞ github.com/kapitainsky/Rclone...
___________________
►► CONNECT
⟡ Support my work ☞ / staempunktv
⟡ Buy Me a Coffee ☞ www.buymeacoffee.com/StaempunkTV
⟡ Tweets ☞ / staempunk
⟡ Instagram ☞ / staempunktv
⟡ My music creations ☞ / staempunk
⟡ Odysee ☞ odysee.com/@StaempunkTV
⟡ Vlog channel ☞ / @staempunk
___________________
►► DESKTOP WALLPAPER
⟡ greatloveart ☞ greatloveart.com/8k-wallpapers/
☞ www.deviantart.com/greatloveart
___________________
►► CORRESPONDENCE
☞ Stæmpunk TV
PO Box 211
Rushworth, VIC 3612
Australia
___________________
►► MUSIC
Intro Music: Mud Walker [Excerpt]
Artist: Stæmpunk
Song: Unrest
Song: Micro
Artist: ELPHNT
Web: ☞ elphnt.io
___________________
►► DISCLAIMER
STÆMPUNK TV thoroughly tests & seeks out any potential issues with apps that are used in a walkthrough. Please be aware that installing applications from outside the MX Repositories could lead to potential instability of your MX Linux system. Only install applications that you are sure work well and are free from problems and issues. STÆMPUNK TV takes no responsibility for broken systems or loss of data.
Staempunk TV linux beginner to intermediate how-to videos.
#GoogleDrive #Linux #Staempunk
Wow this was awesome I was bit intimidated by the long length of the video but every minute was so worth it. Thank you so much.
@Shaun Fedrick You are so welcome!
This is exactly what I needed. Awesome as usual. Thanks!
Happy to help!
Thank you, it is a great resource. I wanted to sync a local folder to a shared folder on Google Drive and use the local fodler as a vault in Obisidian. This is exactly what I needed: it's free, you can pull the remote vault and you can push your updates, then everything is visible on other devices synced to the GD as well.
A note: it might go without saying, but I was rather puzzled for the first time. If you want to use this to have a local, persisted copy of your GD folder, you only want to create the download and upload tasks. You definitely don't want to mount the remote folder to your local one. Otherwise, your "local files" are going to be gone upon restart.
@kristoftabori5471 Thank you kind sir, your comment is most helpful!
Very solid introduction, considering all typical use cases and everyday tasks. I like the hands-on approach, makes me want to jump right into the action. Thanks for sharing!
@maekloev Glad you enjoyed it!
Never bothered working with rsync/rclone that much, but lately it's become more relevant when years of configuration and tinkering dispears due to computer failure, whish force me starting over from scratch. I'll shall consider setting this up.
@1blalalalala Ouch, computer failure sux for sure! Thanks for commenting.
Excellent stuff, thanks for the walkthrough!
Love the video. A simple and straightforward introduction to Rclone for new users.
Also, it might be interesting to look at in a future video but there's a community spin of MX Linux called AVL-MXE geared towards video and audio recording.
Thanks! Yes I love AVL-MXE. I'm currently using it on a Surface Pro 3 to record the audio for this channel. I've also been using Ubuntu Studio and that's a great OS too.
@@StaempunkTV My first GNU/linux OS coming from the Mac world was Ubuntu Studio. Doesn't it come packed with amazing stuff!!! And better overall interface than stock ubuntu, and at about the same install size too, somehow magically. Mind boggling. I've since downsized and am always looking to start small and add what I need as I go.
Thank you very much. This was the one thing I missed in Linux and now not anymore. You are very clear as a teacher!
@user-wd9ii5em3f Thanks for your comment! I'm glad to have helped.
Thanks for all the helpful videos, great quality, easy to follow and helping me out with all my IT hurdles!!!
You are so welcome!
Excelent tutorial. I wish every linux tutorial was like this, the adoption rate would be much higher.
Thank you so much for this video. Very precise and to the point. Like your way of demonstrating things. Quality content.
You're very welcome!
Thanks for the video. Rclone browser really helped a lot more than the termial experience of rclone. It was easier to navigate and explained in a crystal clear way which made quite a difference.
@pixelate9980 Glad it helped and thanks for your comment!
Excellent content and awesome demo, thanks!
Excellent walkthrough!
Thanks for watching and commenting!
Fantastic video. Thankyou for sharing, was so easy to follow.
Never heard of this repo. Thaks a lot for the video.
Brilliant! Excellent explaining video..
thank you, did not know there a was a straightforward GUI to rlcone
You're a absolut god, thanks for that. My obsidian is now usable across plataforms
I like your videos. I also use MX Linux KDE. Recently I have unsubscribed from DistroTube and Chris Titus Tech because they are gibberish talk. But you have useful and in-depth tutorials and videos. Good job sir 👍
Cool, thanks
Thanks. I'LL be giving this a go.
Excellent video. Thank you.
Excellent video Thank you for sharing your knowledge easy ...
bro, you're awesome. Thank you very much!
Thank You for making this Awesome Tutorial....Really Helped ME as Lot
@tedlasso2887 You are most welcome!
Terrific! Thanks!
EXCELLENT Tutorial !
@rozzah2 Cheers!
I appreciate the effort of each step! I've used Linux for years but I'm not a power-user [yet!] and I wouldn't have considered checking for forks for newer versions, thank you!
Also when your Key-bind combos come up, is that edited in post or is there a program that will announce when you use keyboard shortcuts?
Thanks for the kind words. The key-bind combos were added in post for the times I didn't say what the combos were.
@@StaempunkTV sorry that I'm replying so late.
The posted key-binds are a big help since lots of us starting out into Linux are using the default key-binds. Thank you for the reply, I enjoy your teaching style, also I like your hair!
NICE! As a side note the version of rclone-browser you used is in the Ubuntu repos.
Awesome, good to know. Thanks.
Hmm.. Nice! Actually best video iv seen on rclone thus far. I think your next video should be on how the sync can be automated with crontab?
Thanks for saying! I'll definitely look into your video idea and might create a video on it. I have a few more that I'm working on first but it's on the list of potential vids. Cheers!
Awesome tutorial dude thanks! Only thin I would like to add is that when you remove the gnome-control-center it uninstalls the ubuntu-settings, but that is for ubuntu users of course.
@alopradocai Thanks. I'll add this info to the video description. Cheers!
Nice sharing video👍
@rajakegelapan8498 Thank you! Cheers!
Excellent!
Thank You So Much ❤ Sir, I was able to mount one drive using rclone
You are most welcome!
Thanks, man. you saved my day😁
@kenaqshal4058 Glad to hear it!
Thank you very much.
Thank you!!
Very informative and detailed video, but still down to the point without unnecessary blabla. Followed this tutorial step by step and it worked like a charm.
One question that wasn't addressed:
How can I automate the tasks? In an ideal world I wouldn't want to manually execute the Sync Download/Upload tasks in order to sync my offline folder. Can this be automated to run every X minutes when I'm connected to a wifi?
@w3sp Thanks for the comment! Yes you can automate tasks by creating a cron job for it. There are a few websites that explain how to do it. I plan to create a video about setting up auto syncs to Google Drive in the near future.
Amazing video! You are excellent at giving simple yet thorough instructions. The setting "Sync: Delete during transfer" wories me a bit. Why not select Copy? Thank you!
@coyoteguy1111 Thanks for saying!
The "Sync: Delete during transfer" is explained well here:
forum.rclone.org/t/delete-after-and-errors/6171
Tremendously awesome video. Top presentation, to the point, just great. Would love to see a version where this is all done in the command line, no gui, no rclone browser, and googledrive is mounted to a folder which is navigated to using some terminal file browser like mc, or nnn.
*****************************************
PS.
You would know better than I do, but I would personally avoid (what appears to me to be) somewhat unvetted github forks. Rclone browser as vetted and approved by debian community pulls straight through apt, and I was able to do everything you described in this video on whatever that stock version is.
Hi Mr. Staempunk, what does 'delete after transfering' mean? Thanks a lot
thanks dude
Thsi is the video what I need thak you sir.
Glad to help.
thank you so much
This is an excellent video, thank you. Question: Can you automate the sync function versus creating jobs? It would be great if the files would sync automatically. Thoughts?
@luclevesquephd Thanks for your question. Yes you can configure Rclone to periodically sync by creating a cron job. I'm planning to make a video on how to in the future when I get the time. Cheers!
@@StaempunkTV That would be very much appreciated. Thanks.
Good video! Thank you! God bless you!
@rickbacker1 Thanks for watching!
So you always have to press download or upload just to sync changes?
How about for mount unless you unmount it does it automatically reflect changes from drive to pc and vice versa?
Very Good
@tarciziomendesjunior4941 Thanks
Great video! Is there anyway of combining the offline availability of the files via tasks with the automatic syncing of mount? It seems like it is one or the other: auto sync but lose access when you disconnect, or have offline access but need to manually sync.
Did you find the solution?
@@vladislavgrin7122 No Sorry!
Awesome video, to he point and precise
Do we have something similar for google photos
Thanks! Although I haven't used Rclone for Google photos, it looks like there is that functionality going by this thread:
forum.rclone.org/t/google-photos-backup-making-folders-album/26717
can u make it as back up tool?? like auto run download sync every month ?
has anyone used the gui that is built in or whatnot the browser hasn't been updated in ages
u r the mx god
@alking7644 That would be the developers you are referring to. I am merely an aficionado.
bro I'm facing copyright issue. On my drive I have movies. Showing me everything except movies
how can I solve this ?
I have two questions 1) I can't open the files as it says "the lock file could not be created for exclusive access by LibreOffice due to missing permission to create a lock file on that file location or lack of free disk space", why am I seeing this? 2) Am I supposed to manually download all the files I need to interact with? It seems tedious and counter-intuitive
nice video, very detailed and useful. thank u. but i need to say this how all these big tech companies ignore linux and we linux users trying to solve very basic tasks with lots of efforts. why there can't be official google drive client for linux ?
@motivation_day_day It will surely happen one day, especially now that Linux has passed 4% of OS market share.
One change in rClone, since this video was last made, is that the option for Google Drive is now 18, rather than 17.
Thanks, good to know. The developers might have added another sync option which is great. Cheers!
How we install install Online Account on kali linux
Brother, are these files that are deleted after doing, for example, "download from drive" saved somewhere? I accidentally deleted some and I want to know if I can recover them
@angeljosue3140 Sorry to hear that! Have you checked your Bin when you log in to your Google Drive: drive.google.com/drive/u/4/trash
hi! thx for the video. RClone could do the sync task automatically as Drive for Desktop do?
To auto sync desktop files with Drive, you would be best to create a cron job. This video is more of an easy introduction to using Rclone and Rclone Browser with Google Drive. Thanks for the question!
@@StaempunkTV possible to share the commands that needs to be added to crontab? Specifically the upload command. TIA
@@AndreKochDre if u set up the upload task in rclone browser, in "jobs" tab, u have 2 icons, one for cancel the task and other to copy the command to the clipboard. so, copy the command and configure the crontab task with it
I cant register rclone within Google drive, it seems not possible since end of May 23
@cagivasupercity I was able to connect one of my other Google Drives today. I'm not sure what your issue might be. What Linux distro are you using?
Can you use this to sync your computer to your phone like syncthing?
@k.g.4074 TBH, I haven't tried. I actually use Syncthing because it's so easy to just create a folder on each device to autosync between devices.
Unfortunately, my google account seems to forbid the use of 3rd party software -_- :
when running "rclone mount ......" I get googleapi: Error 403: The domain administrators have disabled Drive apps., domainPolicy
@martantoine If it is your work account, your google account's administrator may have restricted the ability to utilise the Google Drive API by unchecking 'Allow users to install Google Drive apps' in the 'Data Access' menu.
This is really helpful 🫡
Hey! I would like to auto sync a specific folder so that both locally and remotely I have the same files. Is there a way to achieve this automatically without having to manually start the upload and download tasks?
Would love to know how to automate that as well. I have not seen an option anywhere. Maybe I just didn't see it. Does anyone know?
@Matteo To automatically sync you'll probably have to create a cron job. There is a good thread on how to on the Rclone forum although it is from 2019: forum.rclone.org/t/continuous-syncing/12377
There is another promising script on EnigmaCurry's dev blog to do the same thing although I personally haven't thoroughly tested it out yet: blog.rymcg.tech/blog/linux/rclone_sync/
@@StaempunkTV thanks for writing back, I will try that :)
@Arndt No problem. I would encourage you to perhaps test the autosync scripts on one of your less vital Google Drives as I have read some people having issues with files being accidentally deleted. Hence why I prefer to manually do my syncs.
Nice ., :-):-)
What password manager do you use in ur browser?
I'm using Bitwarden which is brilliant. I even made a video about it:
ruclips.net/video/1EFR9UwsYAI/видео.html
@@StaempunkTV Thanks for the answer,
I will looked it.. Thanks again
Is there any option within Rclone to schedule tasks?
@dagamusik There is. You could create a cronjob to do this. forum.rclone.org/search?q=rClone%20Scheduling
@@StaempunkTV thanks! you explained rclone very well 🤘
What about mounting google drive to a linux SERVER?
@BG I haven't actually used Rclone on a linux server so you would probably be best to consult the Rclone website for help. I have read that some people use google-drive-ocamlfuse to mount their Google Drives onto their servers.
eg. www.infiflex.com/how-to-mount-google-drive-as-a-disk-on-a-linux-server
hi! how can i do it in win 10?
@joseguerrero1603 This page from the Rclone forum is about that very thing:
forum.rclone.org/t/how-to-install-rclone-on-windows-10/11928
I will continue with Dropbox
Until this point, i rather stay on windows 10
☀Thank you very much For your Videos🎬 We Value It Well Explained About Mundo 💗Linux🐧 Community Free Where you feel like the Owner Mundo is the Only Project United to the World without Border Walls and Barriers 🌎🌎🌏Languages of Monopolies ⏰Have a good time in your free and work time⏳