![]() To view all files in your Google drive from commandline, run: $ rclone ls mygdrive:Īgain, replace "mygdrive" using your own remote name. You can do everything from commandline as well. $ rclone mount remote:path/to/files /path/to/local/mount ![]() You can also mount a specific directory/file from the google drive like below. ~/gdrive folder) will be uploaded to your Google drive. Anything you put in the local mount folder (i.e. * Say N if you are working on a remote or headless machineįrom now on, you can create, copy, move, rename and delete files/folders as the way you do in your local file manager. Edit advanced config?įinally, press "Y" to use auto config (which is the default) to complete Rclone configuration task. I just don't want to edit it, so I entered "n" and hit ENTER to continue. Next, you are asked if you want to edit advanced configuration file. Service_account_file> #Leave blank and press ENTER Leading `~` will be expanded in the file name as will environment variables such as `$`. Needed only if you want use SA instead of interactive login. Service Account Credentials JSON file path. Root_folder_id> #Leave blank and press ENTER Option root_folder_id.įill in to access "Computers" folders (see docs), or for rclone to use Allows read-only access to file metadata butĥ | does not allow any access to read or download file content.Īt the " root_folder_id" and " service_account_file" prompt, just leave them blank and press ENTER to accept the default values. Allows read and write access to the Application Data folder.Ĥ | This is not visible in the drive website. | File authorization is revoked when the user deauthorizes the app. Access to files created by rclone only.ģ | These are visible in the drive website. Choose a number from below, or type in your own value.ġ / Full access all files, excluding Application Data Folder.Ģ / Read-only access to file metadata and file contents. If you don't want to give full access, you can any one of other choices. Type 1 (Number 1) to give full access to your Google drive files. Google Application Client Secret - leave blank normally. If you don't have Google client ID, simply press ENTER to leave blank values for Google application client id and client secret: Google Application Client Id - leave blank normally. If you leave this blank, it will use an internal key which is low performance.Ĭlient_id> Ĭlient_secret> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxĮnter Google Application Client Id and its Secret I already have created Google Application Client ID and its secret, so I entered the details below. If you don't want to create the client ID, no problem! You can simply leave it blank and continue the other steps. To know how to create your own Google drive client ID, refer this link. ![]() Note: Please note that creating Google application client id is optional, but recommended. If you don't have client ID, you can create a new one. ![]() Press Enter for the default ("").Ĭhoose a number from below, or type in your own value.Ĥ / Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, SeaweedFS, and Tencent COSġ5 / Google Cloud Storage (this is not Google Drive)Ģ9 / OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)ģ6 / Tardigrade Decentralized Cloud Storageģ7 / Transparently chunk/split large filesģ8 / Union merges the contents of several upstream fsĮnter your Google drive client ID and its secret if you already have them. it is Google drive, so I entered number 16. Choose the cloud provider of your choice. 9 16:13:42 NOTICE: Config file "/home/ostechnix/.config/rclone/nf" not found - using defaultsĪ list of supported cloud providers will be displayed. Here, I am going to name it as "mygdrive". To create a new remote, simply type "n" and hit ENTER. Since it is our new setup, we haven't created any remotes yet. This will guide you through an interactive setup process.įirst, Rclone will search for a list of available remotes (i.e. Open the Terminal and run the following command to authorize Rclone to access your Google drive: $ rclone config Copy files and directories to Google driveĬonfigure Rclone to access Google drive from commandline.Mount Google Drive Locally Using Rclone. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |