0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Google Drive を Linux でマウントする

Last updated at Posted at 2025-07-12

rclone を使って Google Drive をマウントする方法です。

rclone のインストール

Arch Linux

sudo pacman -S rclone

バージョンの確認

$ rclone --version
rclone v1.70.3
- os/version: arch (64 bit)
- os/kernel: 6.15.6-arch1-1 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.5
- go/linking: dynamic
- go/tags: none

Ubuntu

sudo apt install rclone

バージョンの確認

$ rclone --version
rclone v1.60.1-DEV
- os/version: ubuntu 25.04 (64 bit)
- os/kernel: 6.14.0-23-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.2
- go/linking: dynamic
- go/tags: none

設定

rclone config

Google Drive のマウント

マウントポイントの作成

mkdir ~/google-drive

マウント

rclone mount google-drive: ~/google-drive --daemon --vfs-cache-mode full

アンマウント

sudo umount ~/google-drive

共有アイテムのマウント

マウントポイントの作成

mkdir ~/google-drive-shared

マウント

rclone mount google-drive: ~/google-drive-shared \
  --daemon \
  --drive-shared-with-me \
  --vfs-cache-mode full

アンマウント

sudo umount ~/google-drive-shared
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?