google drive linux code example
Example 1: download google drive file in linux
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=FILEID" -O FILENAME && rm -rf /tmp/cookies.txt
Example 2: DRIVE LINUX
wget https://github.com/liberodark/ODrive/releases/download/0.2.1/odrive_0.2.1_amd64.deb