reporterwqp.blogg.se

How to delete files from google drive linux command line
How to delete files from google drive linux command line





how to delete files from google drive linux command line how to delete files from google drive linux command line

** 1ncJzhW6xK-pdTVhrZupwERZ-o2fg3UHo is the directory ID in google drive which you’ve created before this step. ** here /backup/ is the directory in your server Like if you store backups in /backup directory in your server then use below process : gdrive sync upload /backup/ 1ncJzhW6xK-pdTVhrZupwERZ-o2fg3UHo Save the directory ID here it is 1ncJzhW6xK-pdTVhrZupwERZ-o2fg3UHo That’s it now we can sync the backup directory with gdrive : You will see below message, eg : ~]# gdrive mkdir cwp-backup1ĭirectory 1ncJzhW6xK-pdTVhrZupwERZ-o2fg3UHo created Now create a Directory name cwp-backup1 in gdrive and it will be used to store backups/files in the folder : gdrive mkdir cwp-backup1 Yum localinstall musl-devel-1.2.86_64.rpm_64.rpm musl-libc-static-1.2.86_64.rpm musl-libc-1.2.86_64.rpm musl-filesystem-1.2.86_64.rpmįor other linux for example for Debian and Ubuntu you need to install musl apt install musl-dev musl musl-tools build-essentialĮxecute gdrive list command to generate a verification code : gdrive listĬopy the url and open it in the browser and authorize it, after you’ll see an image like this : Yum localinstall musl-devel-1.2.86_64.rpm musl-libc-static-1.2.86_64.rpm musl-libc-1.2.86_64.rpm musl-filesystem-1.2.86_64.rpmĬentos 8 stream/almalinux/rockylinux/oraclelinux/EL8 : cd /usr/local/src Currently only one file is uploaded at the time, the speed can be improved in the future by uploading several files concurrently First :ĭownload the Latest version of gdrive binary file from below and make it executable from command line : cd /usr/local/bin The current implementation is slow and uses a lot of memory if you are syncing many files. This means that you can’t upload files with gdrive upload into a sync directory as the files would be missing the sync tag, and would be ignored by the sync commands. Files that are synced to google drive are tagged with an appProperty so that the files on drive can be traversed faster. It only syncs one way at the time and works more like rsync than e.g. In this tutorial we’ll learn how easily you can upload backups to your google drive account.







How to delete files from google drive linux command line