Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ken-okabe/dc1b0bfd8889a7cb4afb to your computer and use it in GitHub Desktop.
Save ken-okabe/dc1b0bfd8889a7cb4afb to your computer and use it in GitHub Desktop.
#'Google Drive' というディレクトリ名のスペースが多大な問題を引き起こすので何とかする@Ubuntu
#'Google Drive' というディレクトリ名のスペースが多大な問題を引き起こすので何とかする@Ubuntu
GoogleDrive は容量が大きいし、インフラとしても安定しているので、クラウドストレージとして便利に使えます。
UbuntuでもGoogle非公式に利用できて、
```
sudo add-apt-repository ppa:thefanclub/grive-tools
sudo apt update
sudo apt install grive-tools
```
でインストールし、
*`apt-get`コマンドは冗長で嫌でしかたなかったので、
`apt`になったのはかなり嬉しい。
あとはこういう感じで設定できます。
http://dothisbest.com/how-to/install-google-drive-on-ubuntu/
![enter image description here](http://i2.wp.com/cdn.dothisbest.com/files/grive-setup-on-ubuntu.png?zoom=1.5&resize=736,356)
問題は、フツーにやっていったら、
HOME以下に
`Google Drive`
ってスペース入りのディレクトリが生成されることです。
もうこういうのは、コンピューティングにおいて、
日本語文字化けの次に、多大な問題が発生するので勘弁して欲しいです。
そこで、Simlink(ショートカット)をはります。
```
sudo ln -s /home/ken/Google\ Drive /home/ken/gd
```
 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment