콘텐츠로 이동

Google Workspace

Google Workspace Drive를 Linux에서 RaiDrive CLI로 마운트합니다. My Drive, Shared with me, Shared drives 중에서, 또는 브라우저에서 복사한 URL로 폴더를 지정해 마운트합니다.

필요한 계정·키·ID를 준비하는 방법은 Windows 앱 Google Workspace 가이드의 시작하기 전에를 참고합니다.

Google 인증에는 기본 웹 브라우저가 필요합니다.

raidrivecli add googleworkspace

옵션 없이 명령을 실행하면 My Drive가 마운트됩니다. Shared with me, Shared drives는 --subtype <mydrive|sharedwithme|shareddrives> 옵션으로 선택할 수 있습니다.

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

마운트 디렉터리를 지정하지 않으면 /mnt/googleworkspace처럼 /mnt 아래의 디렉터리에 마운트됩니다. 마운트 디렉터리를 지정하려면 --mount-path 옵션을 사용합니다.

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

브라우저에서 복사한 URL을 사용하여 Google Workspace Drive를 마운트할 수 있습니다. 특히 Computers와 같은 특수 폴더를 마운트하는 데 유용합니다.

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

추가 옵션

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

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

참조