Pāriet uz saturu

Google Drive

Piesaistiet Google Drive Linux vidē, izmantojot RaiDrive CLI. Piesaistiet My Drive vai Shared with me, vai jebkuru mapi pēc pārlūkprogrammā kopētā URL.

Google autentifikācijai nepieciešama noklusējuma pārlūkprogramma.

raidrivecli add googledrive

Ja palaižat komandu bez opcijām, tiks piesaistīts My Drive. Shared with me var izvēlēties ar opciju --subtype <mydrive|sharedwithme>.

raidrivecli add googledrive --subtype sharedwithme

Ja piesaistes direktorija nav norādīta, tā tiek piesaistīta direktorijā zem /mnt, piemēram, /mnt/googledrive. Lai norādītu piesaistes direktoriju, izmantojiet opciju --mount-path.

raidrivecli add googledrive --mount-path /myservices/googledrive

Google Drive var piesaistīt, izmantojot no pārlūkprogrammas kopētu URL. Tas ir īpaši noderīgi, lai piesaistītu tādu speciālu mapi kā Computers.

raidrivecli add googledrive --remote-url \
                https://drive.google.com/drive/u/0/folders/...

Papildu opcijas

--subtype <mydrive|sharedwithme>        My Drive,
                                        Shared with me [default: mydrive]

--remote-url <url>                      folder URL in browser

Skatiet arī