Last active
December 29, 2017 16:30
-
-
Save adw0rd/f3efd348f45cd32cff12e437bd88a1f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
apt install -y python-pip | |
git clone https://github.com/google/google-api-python-client | |
cd google-api-python-client | |
python setup.py install install_egg_info | |
pip install gdrivefs | |
cd /sbin | |
ln -s /usr/local/bin/gdfs mount.gdfs | |
echo "/root/.gdfs.creds /mnt/gdrivefs gdfs allow_other,big_writes 0 0" >> /etc/fstab | |
gdfstool auth -u | |
# open url in browser and copy result code | |
gdfstool auth -a /root/.gdfs.creds "<code>" | |
mkdir /mnt/gdrivefs | |
mount /mnt/gdrivefs | |
ls -la /mnt/gdrivefs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If fstab not work and _netdev too, then use (ubuntu example):