Share
Sign In

Google-drive-Ocamlfuse

A FUSE filesystem over Google Drive
google-drive-ocamlfuse is a FUSE-based file system for Google Drive, written in OCaml.
Windows에는 Google Drive Filestream이라는 클라이언트 프로그램이 있다. 이와 같은 기능을 하는 우분투 패키지이다. 공식적으로 우분투에서 구글 드라이브를 지원하는 패키지는 없다. 하지만 서드파티 패키지를 이용해 자신의 구글 드라이브에 접근할 수 있다.
Installation
아래의 코드로 저장소를 추가하고 google-drive-ocamlfuse를 설치하자.
$ sudo add-apt-repository ppa:alessandro-strada/ppa $ sudo apt-get update $ sudo apt-get install google-drive-ocamlfuse
Google drive Authentication
어떤 구글 계정의 드라이브를 선택해야한다. 그러기 위해서는 사용자 구글 계정의 인증을 받아야 한다.
그뒤에 토큰을 전송하는 것을 승인하면 성공이다.
$ google-drive-ocamlfuse # Access token retrieved correctly.
Mount disk
이제 폴터를 생성하고 그 폴더에 구글 드라이브를 마운트 할 것이다.
# make directory $ mkdir ~/gdrive # mount drive $ google-drive-ocamlfuse ~/gdrive # unmount drive $ fusermount -u ~/gdrive
Auto mount on computer startup
There is a way to automount the filesystem at boot, although it's not very straightforward.
After completing the authorization process, you can follow the following steps, to enable mounting your Google Drive using the mount command.
Be sure to replace <USERNAME> with your actual username.
1) Create a shell script named gdfuse in /usr/bin (as root) with this content: 1) /usr/bin 경로에 관리자 권한으로 gdfuse의 이름으로 쉘 스크립트를 생성하고 아래의 코드를 입력한다. 꼭 <USERNAME>위치에 사용자 이름을 넣어주자. #!/bin/bash su <USERNAME> -l -c "google-drive-ocamlfuse -label $1 $*" exit 0 2) Give it the exec permission: 2) 아래의 코드를 터미널에 입력하여 실행 권한을 부여한다. $ sudo chmod +x /usr/bin/gdfuse 3) Create a mountpoint (e.g. ~/gdrive): 3) 마운트포인트를 생성한다. 단 이전에 했다면 넘어간다. $ mkdir ~/gdrive 4) Edit /etc/fstab adding a line like this. Be sure to replace $USERNAME with your actual username. 4) /etc/fstab 를 관리자 권한으로 열어 다음의 코드를 넣어준다. 꼭 <USERNAME>에 사용자 이름을 넣어주자. gdfuse#default /home/<USERNAME>/gdrive fuse uid=1000,gid=1000,user 0 0 If uid and gid of your user are different from 1000, modify the above line accordingly. And then you can use mount to mount your Google Drive. Maybe you will be asked for your password. $ mount ~/gdrive
Manual
Google-drive-ocamlfuse의 메뉴얼은 아래의 명령어로 조회할 수 있다.
$ man google-drive-ocamlfuse
More Information
Issues Tracker
이전페이지로 돌아가기
Ubuntu, Windows Setting & Using
메인으로 돌아가기
성호의 개발 다락방
A FUSE filesystem over Google Drive
google-drive-ocamlfuse is a FUSE-based file system for Google Drive, written in OCaml.
Windows에는 Google Drive Filestream이라는 클라이언트 프로그램이 있다. 이와 같은 기능을 하는 우분투 패키지이다. 공식적으로 우분투에서 구글 드라이브를 지원하는 패키지는 없다. 하지만 서드파티 패키지를 이용해 자신의 구글 드라이브에 접근할 수 있다.
Installation
아래의 코드로 저장소를 추가하고 google-drive-ocamlfuse를 설치하자.
$ sudo add-apt-repository ppa:alessandro-strada/ppa $ sudo apt-get update $ sudo apt-get install google-drive-ocamlfuse
Google drive Authentication
어떤 구글 계정의 드라이브를 선택해야한다. 그러기 위해서는 사용자 구글 계정의 인증을 받아야 한다.
그뒤에 토큰을 전송하는 것을 승인하면 성공이다.
$ google-drive-ocamlfuse # Access token retrieved correctly.
Mount disk
이제 폴터를 생성하고 그 폴더에 구글 드라이브를 마운트 할 것이다.
# make directory $ mkdir ~/gdrive # mount drive $ google-drive-ocamlfuse ~/gdrive # unmount drive $ fusermount -u ~/gdrive
Auto mount on computer startup
There is a way to automount the filesystem at boot, although it's not very straightforward.
After completing the authorization process, you can follow the following steps, to enable mounting your Google Drive using the mount command.
Be sure to replace <USERNAME> with your actual username.
1) Create a shell script named gdfuse in /usr/bin (as root) with this content: 1) /usr/bin 경로에 관리자 권한으로 gdfuse의 이름으로 쉘 스크립트를 생성하고 아래의 코드를 입력한다. 꼭 <USERNAME>위치에 사용자 이름을 넣어주자. #!/bin/bash su <USERNAME> -l -c "google-drive-ocamlfuse -label $1 $*" exit 0 2) Give it the exec permission: 2) 아래의 코드를 터미널에 입력하여 실행 권한을 부여한다. $ sudo chmod +x /usr/bin/gdfuse 3) Create a mountpoint (e.g. ~/gdrive): 3) 마운트포인트를 생성한다. 단 이전에 했다면 넘어간다. $ mkdir ~/gdrive 4) Edit /etc/fstab adding a line like this. Be sure to replace $USERNAME with your actual username. 4) /etc/fstab 를 관리자 권한으로 열어 다음의 코드를 넣어준다. 꼭 <USERNAME>에 사용자 이름을 넣어주자. gdfuse#default /home/<USERNAME>/gdrive fuse uid=1000,gid=1000,user 0 0 If uid and gid of your user are different from 1000, modify the above line accordingly. And then you can use mount to mount your Google Drive. Maybe you will be asked for your password. $ mount ~/gdrive
Manual
Google-drive-ocamlfuse의 메뉴얼은 아래의 명령어로 조회할 수 있다.
$ man google-drive-ocamlfuse
More Information
Issues Tracker
이전페이지로 돌아가기
Ubuntu, Windows Setting & Using
메인으로 돌아가기
성호의 개발 다락방
A FUSE filesystem over Google Drive
google-drive-ocamlfuse is a FUSE-based file system for Google Drive, written in OCaml.
Windows에는 Google Drive Filestream이라는 클라이언트 프로그램이 있다. 이와 같은 기능을 하는 우분투 패키지이다. 공식적으로 우분투에서 구글 드라이브를 지원하는 패키지는 없다. 하지만 서드파티 패키지를 이용해 자신의 구글 드라이브에 접근할 수 있다.
Installation
아래의 코드로 저장소를 추가하고 google-drive-ocamlfuse를 설치하자.
$ sudo add-apt-repository ppa:alessandro-strada/ppa $ sudo apt-get update $ sudo apt-get install google-drive-ocamlfuse
Google drive Authentication
어떤 구글 계정의 드라이브를 선택해야한다. 그러기 위해서는 사용자 구글 계정의 인증을 받아야 한다.
그뒤에 토큰을 전송하는 것을 승인하면 성공이다.
$ google-drive-ocamlfuse # Access token retrieved correctly.
Mount disk
이제 폴터를 생성하고 그 폴더에 구글 드라이브를 마운트 할 것이다.
# make directory $ mkdir ~/gdrive # mount drive $ google-drive-ocamlfuse ~/gdrive # unmount drive $ fusermount -u ~/gdrive
Auto mount on computer startup
There is a way to automount the filesystem at boot, although it's not very straightforward.
After completing the authorization process, you can follow the following steps, to enable mounting your Google Drive using the mount command.
Be sure to replace <USERNAME> with your actual username.
1) Create a shell script named gdfuse in /usr/bin (as root) with this content: 1) /usr/bin 경로에 관리자 권한으로 gdfuse의 이름으로 쉘 스크립트를 생성하고 아래의 코드를 입력한다. 꼭 <USERNAME>위치에 사용자 이름을 넣어주자. #!/bin/bash su <USERNAME> -l -c "google-drive-ocamlfuse -label $1 $*" exit 0 2) Give it the exec permission: 2) 아래의 코드를 터미널에 입력하여 실행 권한을 부여한다. $ sudo chmod +x /usr/bin/gdfuse 3) Create a mountpoint (e.g. ~/gdrive): 3) 마운트포인트를 생성한다. 단 이전에 했다면 넘어간다. $ mkdir ~/gdrive 4) Edit /etc/fstab adding a line like this. Be sure to replace $USERNAME with your actual username. 4) /etc/fstab 를 관리자 권한으로 열어 다음의 코드를 넣어준다. 꼭 <USERNAME>에 사용자 이름을 넣어주자. gdfuse#default /home/<USERNAME>/gdrive fuse uid=1000,gid=1000,user 0 0 If uid and gid of your user are different from 1000, modify the above line accordingly. And then you can use mount to mount your Google Drive. Maybe you will be asked for your password. $ mount ~/gdrive
Manual
Google-drive-ocamlfuse의 메뉴얼은 아래의 명령어로 조회할 수 있다.
$ man google-drive-ocamlfuse
More Information
Issues Tracker
이전페이지로 돌아가기
Ubuntu, Windows Setting & Using
메인으로 돌아가기
성호의 개발 다락방
A FUSE filesystem over Google Drive
google-drive-ocamlfuse is a FUSE-based file system for Google Drive, written in OCaml.
Windows에는 Google Drive Filestream이라는 클라이언트 프로그램이 있다. 이와 같은 기능을 하는 우분투 패키지이다. 공식적으로 우분투에서 구글 드라이브를 지원하는 패키지는 없다. 하지만 서드파티 패키지를 이용해 자신의 구글 드라이브에 접근할 수 있다.
Installation
아래의 코드로 저장소를 추가하고 google-drive-ocamlfuse를 설치하자.
$ sudo add-apt-repository ppa:alessandro-strada/ppa $ sudo apt-get update $ sudo apt-get install google-drive-ocamlfuse
Google drive Authentication
어떤 구글 계정의 드라이브를 선택해야한다. 그러기 위해서는 사용자 구글 계정의 인증을 받아야 한다.
그뒤에 토큰을 전송하는 것을 승인하면 성공이다.
$ google-drive-ocamlfuse # Access token retrieved correctly.
Mount disk
이제 폴터를 생성하고 그 폴더에 구글 드라이브를 마운트 할 것이다.
# make directory $ mkdir ~/gdrive # mount drive $ google-drive-ocamlfuse ~/gdrive # unmount drive $ fusermount -u ~/gdrive
Auto mount on computer startup
There is a way to automount the filesystem at boot, although it's not very straightforward.
After completing the authorization process, you can follow the following steps, to enable mounting your Google Drive using the mount command.
Be sure to replace <USERNAME> with your actual username.
1) Create a shell script named gdfuse in /usr/bin (as root) with this content: 1) /usr/bin 경로에 관리자 권한으로 gdfuse의 이름으로 쉘 스크립트를 생성하고 아래의 코드를 입력한다. 꼭 <USERNAME>위치에 사용자 이름을 넣어주자. #!/bin/bash su <USERNAME> -l -c "google-drive-ocamlfuse -label $1 $*" exit 0 2) Give it the exec permission: 2) 아래의 코드를 터미널에 입력하여 실행 권한을 부여한다. $ sudo chmod +x /usr/bin/gdfuse 3) Create a mountpoint (e.g. ~/gdrive): 3) 마운트포인트를 생성한다. 단 이전에 했다면 넘어간다. $ mkdir ~/gdrive 4) Edit /etc/fstab adding a line like this. Be sure to replace $USERNAME with your actual username. 4) /etc/fstab 를 관리자 권한으로 열어 다음의 코드를 넣어준다. 꼭 <USERNAME>에 사용자 이름을 넣어주자. gdfuse#default /home/<USERNAME>/gdrive fuse uid=1000,gid=1000,user 0 0 If uid and gid of your user are different from 1000, modify the above line accordingly. And then you can use mount to mount your Google Drive. Maybe you will be asked for your password. $ mount ~/gdrive
Manual
Google-drive-ocamlfuse의 메뉴얼은 아래의 명령어로 조회할 수 있다.
$ man google-drive-ocamlfuse
More Information
Issues Tracker
이전페이지로 돌아가기
Ubuntu, Windows Setting & Using
메인으로 돌아가기
성호의 개발 다락방
A FUSE filesystem over Google Drive
google-drive-ocamlfuse is a FUSE-based file system for Google Drive, written in OCaml.
Windows에는 Google Drive Filestream이라는 클라이언트 프로그램이 있다. 이와 같은 기능을 하는 우분투 패키지이다. 공식적으로 우분투에서 구글 드라이브를 지원하는 패키지는 없다. 하지만 서드파티 패키지를 이용해 자신의 구글 드라이브에 접근할 수 있다.
Installation
아래의 코드로 저장소를 추가하고 google-drive-ocamlfuse를 설치하자.
$ sudo add-apt-repository ppa:alessandro-strada/ppa $ sudo apt-get update $ sudo apt-get install google-drive-ocamlfuse
Google drive Authentication
어떤 구글 계정의 드라이브를 선택해야한다. 그러기 위해서는 사용자 구글 계정의 인증을 받아야 한다.
그뒤에 토큰을 전송하는 것을 승인하면 성공이다.
$ google-drive-ocamlfuse # Access token retrieved correctly.
Mount disk
이제 폴터를 생성하고 그 폴더에 구글 드라이브를 마운트 할 것이다.
# make directory $ mkdir ~/gdrive # mount drive $ google-drive-ocamlfuse ~/gdrive # unmount drive $ fusermount -u ~/gdrive
Auto mount on computer startup
There is a way to automount the filesystem at boot, although it's not very straightforward.
After completing the authorization process, you can follow the following steps, to enable mounting your Google Drive using the mount command.
Be sure to replace <USERNAME> with your actual username.
1) Create a shell script named gdfuse in /usr/bin (as root) with this content: 1) /usr/bin 경로에 관리자 권한으로 gdfuse의 이름으로 쉘 스크립트를 생성하고 아래의 코드를 입력한다. 꼭 <USERNAME>위치에 사용자 이름을 넣어주자. #!/bin/bash su <USERNAME> -l -c "google-drive-ocamlfuse -label $1 $*" exit 0 2) Give it the exec permission: 2) 아래의 코드를 터미널에 입력하여 실행 권한을 부여한다. $ sudo chmod +x /usr/bin/gdfuse 3) Create a mountpoint (e.g. ~/gdrive): 3) 마운트포인트를 생성한다. 단 이전에 했다면 넘어간다. $ mkdir ~/gdrive 4) Edit /etc/fstab adding a line like this. Be sure to replace $USERNAME with your actual username. 4) /etc/fstab 를 관리자 권한으로 열어 다음의 코드를 넣어준다. 꼭 <USERNAME>에 사용자 이름을 넣어주자. gdfuse#default /home/<USERNAME>/gdrive fuse uid=1000,gid=1000,user 0 0 If uid and gid of your user are different from 1000, modify the above line accordingly. And then you can use mount to mount your Google Drive. Maybe you will be asked for your password. $ mount ~/gdrive
Manual
Google-drive-ocamlfuse의 메뉴얼은 아래의 명령어로 조회할 수 있다.
$ man google-drive-ocamlfuse
More Information
Issues Tracker
이전페이지로 돌아가기
Ubuntu, Windows Setting & Using
메인으로 돌아가기
성호의 개발 다락방
A FUSE filesystem over Google Drive
google-drive-ocamlfuse is a FUSE-based file system for Google Drive, written in OCaml.
Windows에는 Google Drive Filestream이라는 클라이언트 프로그램이 있다. 이와 같은 기능을 하는 우분투 패키지이다. 공식적으로 우분투에서 구글 드라이브를 지원하는 패키지는 없다. 하지만 서드파티 패키지를 이용해 자신의 구글 드라이브에 접근할 수 있다.
Installation
아래의 코드로 저장소를 추가하고 google-drive-ocamlfuse를 설치하자.
$ sudo add-apt-repository ppa:alessandro-strada/ppa $ sudo apt-get update $ sudo apt-get install google-drive-ocamlfuse
Google drive Authentication
어떤 구글 계정의 드라이브를 선택해야한다. 그러기 위해서는 사용자 구글 계정의 인증을 받아야 한다.
그뒤에 토큰을 전송하는 것을 승인하면 성공이다.
$ google-drive-ocamlfuse # Access token retrieved correctly.
Mount disk
이제 폴터를 생성하고 그 폴더에 구글 드라이브를 마운트 할 것이다.
# make directory $ mkdir ~/gdrive # mount drive $ google-drive-ocamlfuse ~/gdrive # unmount drive $ fusermount -u ~/gdrive
Auto mount on computer startup
There is a way to automount the filesystem at boot, although it's not very straightforward.
After completing the authorization process, you can follow the following steps, to enable mounting your Google Drive using the mount command.
Be sure to replace <USERNAME> with your actual username.
1) Create a shell script named gdfuse in /usr/bin (as root) with this content: 1) /usr/bin 경로에 관리자 권한으로 gdfuse의 이름으로 쉘 스크립트를 생성하고 아래의 코드를 입력한다. 꼭 <USERNAME>위치에 사용자 이름을 넣어주자. #!/bin/bash su <USERNAME> -l -c "google-drive-ocamlfuse -label $1 $*" exit 0 2) Give it the exec permission: 2) 아래의 코드를 터미널에 입력하여 실행 권한을 부여한다. $ sudo chmod +x /usr/bin/gdfuse 3) Create a mountpoint (e.g. ~/gdrive): 3) 마운트포인트를 생성한다. 단 이전에 했다면 넘어간다. $ mkdir ~/gdrive 4) Edit /etc/fstab adding a line like this. Be sure to replace $USERNAME with your actual username. 4) /etc/fstab 를 관리자 권한으로 열어 다음의 코드를 넣어준다. 꼭 <USERNAME>에 사용자 이름을 넣어주자. gdfuse#default /home/<USERNAME>/gdrive fuse uid=1000,gid=1000,user 0 0 If uid and gid of your user are different from 1000, modify the above line accordingly. And then you can use mount to mount your Google Drive. Maybe you will be asked for your password. $ mount ~/gdrive
Manual
Google-drive-ocamlfuse의 메뉴얼은 아래의 명령어로 조회할 수 있다.
$ man google-drive-ocamlfuse
More Information
Issues Tracker
이전페이지로 돌아가기
Ubuntu, Windows Setting & Using
메인으로 돌아가기
성호의 개발 다락방
A FUSE filesystem over Google Drive
google-drive-ocamlfuse is a FUSE-based file system for Google Drive, written in OCaml.
Windows에는 Google Drive Filestream이라는 클라이언트 프로그램이 있다. 이와 같은 기능을 하는 우분투 패키지이다. 공식적으로 우분투에서 구글 드라이브를 지원하는 패키지는 없다. 하지만 서드파티 패키지를 이용해 자신의 구글 드라이브에 접근할 수 있다.
Installation
아래의 코드로 저장소를 추가하고 google-drive-ocamlfuse를 설치하자.
$ sudo add-apt-repository ppa:alessandro-strada/ppa $ sudo apt-get update $ sudo apt-get install google-drive-ocamlfuse
Google drive Authentication
어떤 구글 계정의 드라이브를 선택해야한다. 그러기 위해서는 사용자 구글 계정의 인증을 받아야 한다.
그뒤에 토큰을 전송하는 것을 승인하면 성공이다.
$ google-drive-ocamlfuse # Access token retrieved correctly.
Mount disk
이제 폴터를 생성하고 그 폴더에 구글 드라이브를 마운트 할 것이다.
# make directory $ mkdir ~/gdrive # mount drive $ google-drive-ocamlfuse ~/gdrive # unmount drive $ fusermount -u ~/gdrive
Auto mount on computer startup
There is a way to automount the filesystem at boot, although it's not very straightforward.
After completing the authorization process, you can follow the following steps, to enable mounting your Google Drive using the mount command.
Be sure to replace <USERNAME> with your actual username.
1) Create a shell script named gdfuse in /usr/bin (as root) with this content: 1) /usr/bin 경로에 관리자 권한으로 gdfuse의 이름으로 쉘 스크립트를 생성하고 아래의 코드를 입력한다. 꼭 <USERNAME>위치에 사용자 이름을 넣어주자. #!/bin/bash su <USERNAME> -l -c "google-drive-ocamlfuse -label $1 $*" exit 0 2) Give it the exec permission: 2) 아래의 코드를 터미널에 입력하여 실행 권한을 부여한다. $ sudo chmod +x /usr/bin/gdfuse 3) Create a mountpoint (e.g. ~/gdrive): 3) 마운트포인트를 생성한다. 단 이전에 했다면 넘어간다. $ mkdir ~/gdrive 4) Edit /etc/fstab adding a line like this. Be sure to replace $USERNAME with your actual username. 4) /etc/fstab 를 관리자 권한으로 열어 다음의 코드를 넣어준다. 꼭 <USERNAME>에 사용자 이름을 넣어주자. gdfuse#default /home/<USERNAME>/gdrive fuse uid=1000,gid=1000,user 0 0 If uid and gid of your user are different from 1000, modify the above line accordingly. And then you can use mount to mount your Google Drive. Maybe you will be asked for your password. $ mount ~/gdrive
Manual
Google-drive-ocamlfuse의 메뉴얼은 아래의 명령어로 조회할 수 있다.
$ man google-drive-ocamlfuse
More Information
Issues Tracker
이전페이지로 돌아가기
Ubuntu, Windows Setting & Using
메인으로 돌아가기
성호의 개발 다락방
A FUSE filesystem over Google Drive
google-drive-ocamlfuse is a FUSE-based file system for Google Drive, written in OCaml.
Windows에는 Google Drive Filestream이라는 클라이언트 프로그램이 있다. 이와 같은 기능을 하는 우분투 패키지이다. 공식적으로 우분투에서 구글 드라이브를 지원하는 패키지는 없다. 하지만 서드파티 패키지를 이용해 자신의 구글 드라이브에 접근할 수 있다.
Installation
아래의 코드로 저장소를 추가하고 google-drive-ocamlfuse를 설치하자.
$ sudo add-apt-repository ppa:alessandro-strada/ppa $ sudo apt-get update $ sudo apt-get install google-drive-ocamlfuse
Google drive Authentication
어떤 구글 계정의 드라이브를 선택해야한다. 그러기 위해서는 사용자 구글 계정의 인증을 받아야 한다.
그뒤에 토큰을 전송하는 것을 승인하면 성공이다.
$ google-drive-ocamlfuse # Access token retrieved correctly.
Mount disk
이제 폴터를 생성하고 그 폴더에 구글 드라이브를 마운트 할 것이다.
# make directory $ mkdir ~/gdrive # mount drive $ google-drive-ocamlfuse ~/gdrive # unmount drive $ fusermount -u ~/gdrive
Auto mount on computer startup
There is a way to automount the filesystem at boot, although it's not very straightforward.
After completing the authorization process, you can follow the following steps, to enable mounting your Google Drive using the mount command.
Be sure to replace <USERNAME> with your actual username.
1) Create a shell script named gdfuse in /usr/bin (as root) with this content: 1) /usr/bin 경로에 관리자 권한으로 gdfuse의 이름으로 쉘 스크립트를 생성하고 아래의 코드를 입력한다. 꼭 <USERNAME>위치에 사용자 이름을 넣어주자. #!/bin/bash su <USERNAME> -l -c "google-drive-ocamlfuse -label $1 $*" exit 0 2) Give it the exec permission: 2) 아래의 코드를 터미널에 입력하여 실행 권한을 부여한다. $ sudo chmod +x /usr/bin/gdfuse 3) Create a mountpoint (e.g. ~/gdrive): 3) 마운트포인트를 생성한다. 단 이전에 했다면 넘어간다. $ mkdir ~/gdrive 4) Edit /etc/fstab adding a line like this. Be sure to replace $USERNAME with your actual username. 4) /etc/fstab 를 관리자 권한으로 열어 다음의 코드를 넣어준다. 꼭 <USERNAME>에 사용자 이름을 넣어주자. gdfuse#default /home/<USERNAME>/gdrive fuse uid=1000,gid=1000,user 0 0 If uid and gid of your user are different from 1000, modify the above line accordingly. And then you can use mount to mount your Google Drive. Maybe you will be asked for your password. $ mount ~/gdrive
Manual
Google-drive-ocamlfuse의 메뉴얼은 아래의 명령어로 조회할 수 있다.
$ man google-drive-ocamlfuse
More Information
Issues Tracker
이전페이지로 돌아가기