Pāriet uz saturu

Google Workspace

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

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

raidrivecli add googleworkspace

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

raidrivecli add googleworkspace --subtype sharedwithme
raidrivecli add googleworkspace --subtype shareddrives

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

raidrivecli add googleworkspace --mount-path /myservices/googleworkspace

Google Workspace 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 googleworkspace --remote-url \
                https://drive.google.com/drive/u/0/folders/...

Papildu opcijas

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

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

Skatiet arī