Skip to content

Instantly share code, notes, and snippets.

@monk1337
Last active May 13, 2022 08:11
Show Gist options
  • Save monk1337/5c964c4744328af7fc006d143392484f to your computer and use it in GitHub Desktop.
Save monk1337/5c964c4744328af7fc006d143392484f to your computer and use it in GitHub Desktop.
cd /tmp
wget https://dl.google.com/go/go1.11.linux-amd64.tar.gz
sudo tar -xvf go1.11.linux-amd64.tar.gz
sudo mv go /usr/local
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
source ~/.profile
go version
go env
go get github.com/odeke-em/drive/drive-gen && drive-gen
# if not working then try git clone https://github.com/odeke-em/drive.git
drive init ~/gdrive
# if mkdir error then sudo mkdir /home/ANANT/apal/gdrive
cd ~/gdrive
drive list
drive push -coerce-mime docx my_test_doc
drive pull -matches prop
:~/gdrive$ drive pull -matches prop
Resolving...
+ /prophetnet_large_16G_qg_model.pt
Addition count 1 src: 746.49MB
yroceed with the changes? [Y/n]: |
782753651 / 782753651 [=============================================================================] 100.00% 1m6s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment